I am trying to make an image with several transparent areas. I upload an image using
image = [UIImage imageNamed:@"testimage.png"];
and draw it using
[image drawAtPoint:CGPointMake(0,0)]
The UIView on which I draw the image is not opaque (and has a transparent background color).
The problem is that everything works fine on the simulator, but when I run the application on my iPhone, the transparent color turns black! Can anyone spot my mistake?
source
share