When I change the title of a UITabBarItem
in a UITabBar
programmatically from a UIViewController
in another tab, the title changes correctly, but the image of the UITabBarItem
changes its color to the tintColor
or the tabbar.
Here is what is looks like after I set the title of the third tab within the UIViewController of the second tab like this
self.tabBarController?.tabBar.items![2].title = "9 Places"
Any idea how I can prevent the third tab icon from changing the tint color?
Using Xcode 10.1 and iOS 12.1.1.
Thanks!