#import <QuartzCore/QuartzCore.h>

textView.layer.cornerRadius = 8;
textView.layer.borderWidth = 1;
textView.layer.borderColor = [[UIColor grayColor] CGColor];

Posted by great-artist
,