Created
November 12, 2010 02:58
-
-
Save linusthe3rd/673665 to your computer and use it in GitHub Desktop.
YourViewController.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment