iOS - UITextView 边框的设置

来源:互联网 发布:2015网络流行歌曲 编辑:程序博客网 时间:2024/06/05 14:17

<span style="font-family: Arial, Helvetica, sans-serif;">// 导入QuartzCote框架:</span>
#import <QuartzCore/QuartzCore.h>// 设置边框:textView.layer.borderColor = [UIColorgrayColor].CGColor;textView.layer.borderWidth =1.0;textView.layer.cornerRadius =5.0;



原文 : http://blog.sina.com.cn/s/blog_6799686801016itn.html

0 0