Change the size and border color of the UITextView

#import <QuartzCore/QuartzCore.h> //this is for setting border properties

detailsLabel.text = detailsString;
CGRect detailsLabel.frame;
frame.size.height = 200;
detailsLabel.frame = frame;
detailsLabel.layer.borderWidth = 1;
[detailsLabel.layer setBorderColor: [[UIColor grayColor] CGColor]];
[detailsLabel.layer setBorderWidth: 1.0];
[detailsLabel.layer setCornerRadius:8.0f];
[detailsLabel.layer setMasksToBounds:YES];

Popular posts from this blog

npm refusing to install as a dependency of itself

Using Flexigrid with PHP and MySQL