Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @property (strong, nonatomic) IBOutletCollection(UILabel) NSArray *customLabels;
- for (UILabel *label in customLabels) {
- label.layer.cornerRadius = 5.0;
- }
- UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect];
- // be sure to do this step or you won't see your button
- button.frame = CGRectMake(...);
- // Customize your button here
- [self.view addSubview:button
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement