Easy way to mask a UIView from IB
you'll find a category holding this line
@property (nonatomic, strong) IBInspectable UIImage *imgMask;
this does all the magic, so in IB you can find a field to set the image you want to use as a Mask
Img Mask
Easy way to mask a UIView from IB
you'll find a category holding this line
@property (nonatomic, strong) IBInspectable UIImage *imgMask;
this does all the magic, so in IB you can find a field to set the image you want to use as a Mask
Img Mask