导入QuartzCote框架:
#import <QuartzCore/QuartzCore.h>
设置边框:
textView.layer.borderColor = [UIColorgrayColor].CGColor;
textView.layer.borderWidth =1.0;
textView.layer.cornerRadius =5.0;
UITextView 边框的设置
猜你喜欢
转载自longquan.iteye.com/blog/1675630
今日推荐
周排行