用系统自带 tabbar太帅了,设置字体颜色,
[UITabBarItem.appearance setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIColor darkGrayColor], UITextAttributeTextColor, [UIFont boldSystemFontOfSize:11], UITextAttributeFont, nil] forState:UIControlStateNormal];
[UITabBarItem.appearance setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:RGBCOLOR(6, 193, 174), UITextAttributeTextColor, [UIFont boldSystemFontOfSize:11], UITextAttributeFont, nil] forState:UIControlStateSelected];