I am using the appearance method for UITabBar to set a Background Image on my tab bar. When I do this, the unselected icons on the tab bar do not appear any. What do I need to do to make sure those are visible, even when not selected?
Asked
Active
Viewed 123 times
0
-
can you put some snippet of tabbar? – Dhaval Bhadania Dec 11 '13 at 04:21
-
[[UITabBar appearance] setTintColor:[UIColor blackColor]]; – user717452 Dec 11 '13 at 04:21
-
you have to use setBarTintColor: to set the background color for IOS 7. – Dhaval Bhadania Dec 11 '13 at 04:27
-
for selected/unselected image do this: [self.tabBarItem setFinishedSelectedImage:[UIImage imageNamed:@"seleted.png"] withFinishedUnselectedImage:[UIImage imageNamed:@"nselected.png"]]; – Dhaval Bhadania Dec 11 '13 at 04:30