I have an interface fully laid out using a storyboard (including the UITabBarController and all relevant views).
Now it's time to customize the tab bar. Since I have icons that are already set to the correct color, I cannot use [[UITabBar appearance] setTintColor:](it just continues to look wrong).
Turns out I should use setFinishedSelectedImage:withFinishedUnselectedImage:for a specific UITabBarItem.
Can I use this method from AppDelegate (where the rest of my global setup is done)? How does AppDelegate know which UITabBar is targeted?
If instead I have to configure each UITabBarItem from each UIViewController, how can I refer to a UITabBar (or "root view controller"?) And then to a specific element from a UIViewController?
Any help would be greatly appreciated. Thank you
source
share