读书人

UITextView 框子的设置

发布时间: 2012-09-24 13:49:41 作者: rapoo

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

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

读书人网 >移动开发

热点推荐