Here is my tab bar:
The following image shows the program being run an
Swift 4: In your UITabBarController change it by this code
tabBar.unselectedItemTintColor = .black