Want to draw a UIImageView with CGImage and a UIImageView alpha 0.5f. But this CGContextDrawImage function does not accept the value of transparency. So, how could I make the image slightly transparent?
To be clear: the image itself is not transparent, but I want it to go out a bit. Just as you would do with a UIImageView and some alpha, e.g. 0.5f :-)
source share