`
lizhuang
  • 浏览: 888227 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

UITextView加边框

阅读更多

导入QuartzCote框架:
#import <QuartzCore/QuartzCore.h>

设置边框:

textView.layer.borderColor = [UIColorgrayColor].CGColor;

textView.layer.borderWidth =1.0;

textView.layer.cornerRadius =5.0;
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics