//
设置文字颜色
if ( iOS7 ) {
[[ UITabBarItem appearance ] setTitleTextAttributes :@{ NSForegroundColorAttributeName : [ UIColor whiteColor ]} forState : UIControlStateSelected ];
} else {
[[ UITabBarItem appearance ] setTitleTextAttributes :@{ UITextAttributeTextColor : [ UIColor whiteColor ]} forState : UIControlStateSelected ];
}
if ( iOS7 ) {
[[ UITabBarItem appearance ] setTitleTextAttributes :@{ NSForegroundColorAttributeName : [ UIColor whiteColor ]} forState : UIControlStateSelected ];
} else {
[[ UITabBarItem appearance ] setTitleTextAttributes :@{ UITextAttributeTextColor : [ UIColor whiteColor ]} forState : UIControlStateSelected ];
}