導入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
導入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