TextView的外边框

设置textView的边框

textView.layer.borderColor = [UIColor grayColor].CGColor;

textView.layer.borderWidth =1.0;

textView.layer.cornerRadius =5.0;

你可能感兴趣的:(TextView的外边框)