UILabel with rounded corner (Xcode 4.5 and iOS 6)-Collection of common programming errors

You can do it all in Interface Builder.
In XCode, select your .xib file (or your storyboard) to open Interface Builder. Click on your UILabel and open the Identity inspector (if you do not know where it is, go to XCode’s Help menu and type in “Identity inspector“). Click the plus button under the User Defined Runtime Attributes pane, and write layer.cornerRadius for the Key Path, chose Number for the Type, and 5 (or any other number) for the Value.
If you run now your project you should get a round-cornered UILabel.