self.tabBar.tintColor = [UIColor colorWithHexString:BLUE_GREEN_COLOR];
UITabBarController *tabBarController = (UITabBarController*)self;
UITabBar *tabBar = tabBarController.tabBar;
UITabBarItem *trainEnquiryItem = [tabBar.items objectAtIndex:0];
[trainEnquiryItem setTitle:@"查询"];
[trainEnquiryItem setImage:[UIImage imageNamed:@"tet"]];
[trainEnquiryItem setSelectedImage:[UIImage imageNamed:@"tet_hover"]];
改变UITabBarItem 字体颜色
[[UITabBarItem appearance] setTitleTextAttributes:[NSDictionarydictionaryWithObjectsAndKeys:[UIColor whiteColor], UITextAttributeTextColor, nil] forState:UIControlStateNormal];
[[UITabBarItem appearance] setTitleTextAttributes:
[NSDictionarydictionaryWithObjectsAndKeys:[UIColorcolorWithHexString:"#00C8D3"],UITextAttributeTextColor, nil]forState:UIControlStateSelected];