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

2.
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];