Is there a way to erase the black background for that image
I\'ve found this sample code found on
Here's how to get "erasePath". Just pass the selected CGRect you want to crop as "cropRect" -
CGMutablePathRef erasePath = CGPathCreateMutable(); CGPathAddRect(erasePath, NULL, cropRect); CGContextAddPath(g,erasePath);