Ios swift – How could I do the "opposite-masking" of UIImages in Swift using UIKit?
I have two UIImages - let's call them base and overhead. Their size is the same. I need a UIImage that is made like this: when overhead's pixel is solid or semi-transparent, use clear pixel. When overhead's pixel is fully…