Apple makes UITextView Default border meanless - no border .
Below sample codes help you to make the border looks like others.
_textViewDetails.clipsToBounds = YES;
Below sample codes help you to make the border looks like others.
_textViewDetails.layer.cornerRadius = 5;
[_textViewDetails.layer setBorderColor:[[[UIColor grayColor] colorWithAlphaComponent:0.5] CGColor]];
[_textViewDetails.layer setBorderWidth:2.0];
Comments
Post a Comment