To get a rounded shortcut, simply include QuartzCore-Framework in your project and add it to your .m file:
#import <QuartzCore/QuartzCore.h>
Then create a regular one UILabel *label. Set the font, textColor, backgroundColor as you like, and then add rounded corners:
label.layer.cornerRadius = label.frame.size.height/2;
source
share