直接上代码:
self.textView.layer.borderColor =
UIColor(red: 60/255, green: 40/255, blue: 129/255, alpha: 1).CGColor;
self.textView.layer.borderWidth = 2;
self.textView.layer.cornerRadius = 16;
版权声明:本文为博主原创文章,未经博主允许不得转载。
时间: 2024-10-01 07:05:56
直接上代码:
self.textView.layer.borderColor =
UIColor(red: 60/255, green: 40/255, blue: 129/255, alpha: 1).CGColor;
self.textView.layer.borderWidth = 2;
self.textView.layer.cornerRadius = 16;
版权声明:本文为博主原创文章,未经博主允许不得转载。