改变tabBar的颜色及字体的颜色

tabBarController.tabBar.selectedImageTintColor = [UIColor orangeColor];

修改tabBarItem的字体颜色:

[tabBarItem setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIColor redColor],NSForegroundColorAttributeName, nil] forState:UIControlStateNormal];

原文地址:https://www.cnblogs.com/mkjhgfdsa123/p/4979277.html