iphone - How to add an CALayer or UIImageView using different blending modes like screen, multiply, darken, lighten, color dodge, color burn, etc.? -


I remember that this kind of blending mode is available, but it does not know how to do it in the caller docs. Does anyone know that move?

I do not think you mixed mode CALayer or UIView (in particular, I think that "iPhone" 3G's old "graphics does not support hardware; 3GS is not sure about.)

You can specify blend mode while custom drawing (like -drawRect: - [UIImage drawInRect: blendMode: alpha:] and relevant CGContext functions, though the content of the resulting layer is composite Shall be (equal) KCGBlendModeNormal.


Comments