When I select first item in tab bar, the selected tint colour doesn't change, but when I tap second time the same item, it works then. That only happen on the first tab bar item and it looks like tab bar is refreshing. Tapping every other item in tab bar works as expected and doesn't have that problem. This only happens on iOS 13.
I tried using UITabBarAppearance()
, but it's the same.
add your code in DispatchQueue and then try ...
DispatchQueue.main.async {
// your code to change colour
tabBarController.tabBar.barTintColor = [UIColor blackColor]
}