I am doing some drawing using a CGContext. I am currently masking the drawing using a png file like this:
UIImage * myImage = [UIImage imageNamed:@\"frame.pn
CGContextAddPath(context, yourPath); CGContextClip(context);