Set the rendering mode of UIImage: UIImage. renderingMode,
Set the rendering mode of UIImage: UIImage. renderingMode
Tint Color is a rendering mode on the iOS7 interface. You can set the UIImage rendering mode to a major change in UIImage. renderingMode. You can set whether a UIImage uses the Tint Color of the current view during rendering. UIImage adds a read-only attribute: renderingMode, which corresponds to another method: imageWithRenderingMode:. It uses the UIImageRenderingMode enumeration value to set the renderingMode attribute of the image. This enumeration contains the following values:
The default value of the renderingMode attribute is UIImageRenderingModeAutomatic, that is, whether or not the UIImage uses Tint Color depends on the position it is displayed. For other cases, see the following example.
The following code illustrates how easy it is to create an image using an established rendering mode: