How to make a CALayer and all the things inside it semi-transparent? That includes all the things drawn with CoreGraphics and CoreText.
layer.opacity = 0.5
How to make a CALayer and all the things inside it semi-transparent? That includes all the things drawn with CoreGraphics and CoreText.
layer.opacity = 0.5
Depending on your application, one thing to keep in mind apart from jtbandes answer, is going to be performance. Transparency on the iDevice platforms is not a fast operation, so doing too much of it can be a bad thing. Please keep this in mind.