2014 .04 .06 navbar
for (UIBarItem *item in self.tabBarController.tabBar.items) {
[item setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:
[UIFont fontWithName:@"Helvetica" size:16.0],NSFontAttributeName, nil]
forState:UIControlStateNormal];
或者(号)
//设置字体的样式
NSMutableDictionary *textAttrib = [NSMutableDictionary dictionary];
textAttrib[NSForegroundColorAttributeName] = [UIColor lightGrayColor];//tabbar 底部颜色gzz0406
Fighting 11:37:35
[vc.tabBarItem setTitleTextAttributes:textAttrib forState:UIControlStateNormal];
}