The only way is to go to IB (interface builder) and select UITabBarItem in your view controller and go to the “file inspector”, scroll down and you will see “Global Tint”, you can set it without the color or any color you want, so that it takes effect for the selected image.
according to the following code is troubling
setFinishedSelectedImage: withFinishedUnselectedImage:;
it is no longer available in iOS 7, we can use
[yourCustomTabBarItem setSelectedImage:---]
but it will also take effect on this global color shades.
ProgrammingNinja Nov 22 '13 at 7:33 2013-11-22 07:33
source share