UITextView 边框的设置

导入QuartzCote框架:

#import <QuartzCore/QuartzCore.h>


设置边框:

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

textView.layer.borderWidth =1.0;

textView.layer.cornerRadius =5.0;

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

设置边框:

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

textView.layer.borderWidth =1.0;

textView.layer.cornerRadius =5.0;

posted @ 2015-03-04 11:35  ︶ㄣK__ぺ  阅读(90)  评论(0编辑  收藏  举报