cornerRadius
The preferred corner radius, using a continuous corner curve, for the background and stroke.
Declaration
@property (nonatomic) CGFloat cornerRadius;Discussion
This value doesn’t apply to the custom view. The default value is 0.0.
If the view is too small to fit the requested radius, the system adjusts the corner curve and radius to fit.