Is it possible create an UIImage or an UIImageView with rounded corners? Because I want take an UIImage and show it inside an UIImageView, but I don’t know how to do it.
Is it possible create an UIImage or an UIImageView with rounded corners? Because I
Share
Yes, it is possible.
Import the
QuartzCore(#import <QuartzCore/QuartzCore.h>) header and play with thelayerproperty of theUIImageView.See the CALayer class reference for more info.