Yes, it is possible.
Import the QuartzCore
(#import <QuartzCore/QuartzCore.h>
) header and play with the layer
property of the UIImageView
.
yourImageView.layer.cornerRadius = yourRadius;
yourImageView.clipsToBounds = YES;
See the CALayer class reference for more info.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…