Guest User

Untitled

a guest
Jun 21st, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #import "YourViewController.h"
  2. #import <QuartzCore/QuartzCore.h> //required to achieve corner radius
  3. //.....Setup your controller...
  4. - (void)viewDidLoad {
  5. [super viewDidLoad];
  6.  
  7. //add a corner radius to the UILabel
  8. self.label.layer.cornerRadius = 8;
  9. }
  10. //....the rest of your controller code goes here...
Add Comment
Please, Sign In to add comment