You can change the image, but the selected image always has the same blue overlay applied to the image. The only way I can see getting around this might be to subclass UITabBarItem.
Its a property of tabBarItem and u can change the default blue image to a custom image.
campaigns_hover.png is the selected custom image AND
campaigns.png is the custom image when not selected...
You can change the image, but the selected image always has the same blue overlay applied to the image. The only way I can see getting around this might be to subclass UITabBarItem.
In iOS 6 I have change the selected Tabbaritem image like -
In the Tabbar controller delegate method
through this you can change your image.
Or you can use directly in your view controllers init(or ViewWillAppear) method, like
Its possible without adding any subView.
In the class where you define the tab bar set the property of the tabBarItem to ->>
Its a property of tabBarItem and u can change the default blue image to a custom image. campaigns_hover.png is the selected custom image AND campaigns.png is the custom image when not selected...
Enjoy the secret.. :)
Yes. Just read the Apple documentation
You can do by IB or code