I am trying to add a clip mask to my image. And then making painting with finger touches on the screen.
Finger touches and clip mask works but the problem is my UIImage looks invert up and down.
How can I correct that?
This is the line of code for my mask:
CGContextClipToMask(context, rect, myIconImage.CGImage);
Thanks