ios - Set Image on UITabBar Contoller -


i have developed tabbar base application have 5 tabs , trying set images on each tabs. ive used inbuid functionalities provide xcode setting images im not getting exact results want.

here tabbar controller enter image description here

in case getting images in grey colors actual images not grey colored images. please 1 have solution solve issues.i want set image reties have.

thank you.

begin ios 7, can choose treat of images in app template—or stencil—image. when elect treat image template, system ignores image’s color information , creates image stencil based on alpha values in image. uiimage has new property named renderingmode default rendering mode uiimagerenderingmodeautomatic. experience means template image when init image need

uiimage *image = [uiimage imagenamed:@"someimage"]; uiimage *thisoneshouldbeused = [image imagewithrenderingmode: uiimagerenderingmodealwaysoriginal] 

see template images in uikit user interface catalog more information


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -