Using the UIAppearance protocol (iOS5+) this is now possible, and actually pretty easy.
[UITabBarItem.appearance setTitleTextAttributes:@{
UITextAttributeTextColor : [UIColor greenColor] } forState:UIControlStateNormal];
[UITabBarItem.appearance setTitleTextAttributes:@{
UITextAttributeTextColor : [UIColor purpleColor] } forState:UIControlStateSelected];
Please excuse the awful colors!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…