标签:
1.在storyBoard中,选中tabBarController,设置tabBar如图
2. 直接代码设置
tabBarController.tabBar.selectedImageTintColor = [UIColor orangeColor];
修改tabBarItem的字体颜色:[tabBarItem setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIColor redColor],NSForegroundColorAttributeName, nil] forState:UIControlStateNormal];
标签:
原文地址:http://www.cnblogs.com/ZhangYuGe/p/4208988.html