UITextView 边框的颜色,线宽,弧度,设置

导入QuartzCote框架:

#import <QuartzCore/QuartzCore.h>


设置边框:

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

textView.layer.borderWidth =1.0;

textView.layer.cornerRadius =5.0

posted on 2013-06-25 10:14  我靠是时候那个了  阅读(523)  评论(0编辑  收藏  举报