menu

开发进行时...

crazy coder

Avatar

How to create Round Corner UILabel


#import <QuartzCore/QuartzCore.h>
...
oneLabel.layer.cornerRadius = 5;//Round Corner
oneLabel.layer.borderColor = [UIColor lightGrayColor].CGColor;
oneLabel.layer.borderWidth = 1.0;//add border
...