Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #import <QuartzCore/QuartzCore.h>
- [self.content.layer setBackgroundColor:[[UIColor whiteColor] CGColor]];
- [self.content.layer setBorderColor:[[UIColor grayColor] CGColor]];
- [self.content.layer setBorderWidth:1.0];
- [self.content.layer setCornerRadius:8.0];
- [self.content.layer setMasksToBounds:YES];
- self.content.clipsToBounds = YES;
- transTextView.layer.borderWidth = 2.0f;
- transTextView.layer.borderColor = [[UIColor blackColor] CGColor];
Add Comment
Please, Sign In to add comment