首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

UITextView 框子的设置

2012-09-24 
UITextView 边框的设置导入QuartzCote框架:#import QuartzCore/QuartzCore.h设置边框:textView.layer.bo

UITextView 边框的设置
导入QuartzCote框架:
#import <QuartzCore/QuartzCore.h>

设置边框:
textView.layer.borderColor = [UIColorgrayColor].CGColor;
textView.layer.borderWidth =1.0;
textView.layer.cornerRadius =5.0;

热点排行