I'm currently looking at a UILabel with the property addMessageLabel.layer.cornerRadius = 5.0f;
On a device with iOS 7.0 installed, it has rounded corners. On a device with iOS 7.1 installed, it does not have rounded corners.
Is this just a bug with iOS 7.1?
I think the best way to set corner radius is:
and be sure the "Clip Subviews" is checked:
Checking "Clip Subviews" is equal to the code
addMessageLabel.clipsToBounds = YES;
.