Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #import "YourViewController.h"
- #import <QuartzCore/QuartzCore.h> //required to achieve corner radius
- //.....Setup your controller...
- - (void)viewDidLoad {
- [super viewDidLoad];
- //add a corner radius to the UILabel
- self.label.layer.cornerRadius = 8;
- }
- //....the rest of your controller code goes here...
Add Comment
Please, Sign In to add comment