When using the system Tabbar to add pictures, the picture will be blurred, modify the size of the picture is not good, and later found the concept of rendering, the clues to find the Imagewithrenderingmode this method.
UIImage Remove rendering can only be used in IOS7 or above systems
UIImage *img = [UIImage imagename:@ "xxxx"];
img= [img imagewithrenderingmode:uiimagerenderingmodealwaysoriginal];
This will solve the problem of blurred images, but also can solve the Tabbar default selected color.
Set the rendering mode for UIImage: Uiimage.renderingmode
Coloring (Tint color) is one of the iOS7 interfaces. Set the rendering mode of the UIImage: Uiimage.renderingmode A significant change, you can set a UIImage Color to use the current view when rendering. UIImage added a read-only property: Renderingmode, corresponding to a new method: Imagewithrenderingmode:, It uses the Uiimagerenderingmode enumeration value to set the Renderingmode property of the picture. The enumeration contains the following values: Uiimagerenderingmodeautomatic//automatically adjusts the rendering mode based on the environment in which the picture is used and the drawing context in which it is located. Uiimagerenderingmodealwaysoriginal//Always draws the original state of the picture without using tint Color. Uiimagerenderingmodealwaystemplate//Always draws a picture based on tint color, ignoring the color information of the picture.