If you are developing for IOS 10 or newer you can change the unselected tint color, in older versions you can change only the selected tintColor; Here is an implementation:
1) Go to appDelegate / application didFinishLaunchingWithOptions:
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
//Check if rootViewController is TabBar
if (window?.rootViewController as? UITabBarController) != nil {
//Change unselected TintColor
(window?.rootViewController as! UITabBarController).tabBar.tintColor = UIColor(red: 255/255, green: 102/255, blue: 0, alpha: 1.0)
//If system has IOS 10 or newer
if #available(iOS 10.0, *) {
//Change Unselected Tint Color
(window?.rootViewController as! UITabBarController).tabBar.unselectedItemTintColor = UIColor.black
} else {
// Fallback on earlier versions
}
}
return true
}