I am trying to remove the gloss effect and shadow of the UITabBarItem on iOS5/6 but somehow I don't get it...
Actually I want the App to look on iOS5/6 just like on iOS7.. Is it possible to remove this gloss effect?
First image is iOS7, second iOS6
Asked
Active
Viewed 1,402 times
-1

Dion
- 3,145
- 20
- 37
1 Answers
2
I guess that you could in two ways, one the hard, is change the background image of the tab bar for each selection, you also need to remove titles and images in you view controllers.
The easy way will be use this method on each tab bar item -setFinishedSelectedImage:withFinishedUnselectedImage:
Check also this answer
-
If I use this method on a tabBarItem nothing changes. Even if I try to change the title of the TabBarItem it doesn't changes, although the IBOutlet ist correctly connected in Interface Builder.. edit: I managed to access it now, but It seems that I still have to make to images manually... There is no other way, I guess? – Dion Jul 07 '13 at 13:29
-
Hello, the other way is one that used once, composing a new background to use with tab bar, but is pretty hard and not flexible. I've created in photo editor a background with all elements unselected and each single selected elements. Triggered by one method declared in -tabbarViewControllerDelegate I used core graphics functions to draw a new background composed by the unselected icons background and the selected one at runtime, but is not very "smart". – Andrea Jul 07 '13 at 13:58
-
Okay thank you.. I've done it now with the setFinishedSelectedImage:... method and it's working :) thanks – Dion Jul 07 '13 at 14:12
-
How to do this on IOS7? These functions in this answer are deprecated now. – Halsafar Oct 22 '13 at 23:21
-
Good question, but I don't have an answer, looking through the doc it seems that you can only deal with tintColor. Why don't you open a new question? – Andrea Oct 23 '13 at 07:19