天天看點

UITextView 邊框的顔色,線寬,弧度,設定

導入QuartzCote架構:

#import <QuartzCore/QuartzCore.h>

設定邊框:

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

textView.layer.borderWidth =1.0;

textView.layer.cornerRadius =5.0

轉載于:https://www.cnblogs.com/monnRedShine/p/3154185.html