iOS: Inverse UIBezierPath (bezierPathWithOvalInRect)
问题 I have an jpg Image with a round object in a rect and want to make the envoirement of the round object transparent... (Remove red area in this example) With the help of this iOS make part of an UIImage transparent and "UIBezierPath bezierPathWithOvalInRect" i've got a little success, but this make a path around my object, and I need to invert it, to make the outside and not the inside of the path transparent.. Im not shure where I have to change my code to get the right result.. Here is my