改变tabbarItem选中颜色
tabBar中tabBarItem选中颜色自定义设置
直接代码设置
tabBarController.tabBar.selectedImageTintColor = [UIColor orangeColor];
修改tabBarItem的字体颜色:[tabBarItem setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIColor redColor],NSForegroundColorAttributeName, nil] forState:UIControlStateNormal];
网友评论