+(void)load{
    NSMutableDictionary *attr3=[NSMutableDictionary dictionary];
    attr3[NSForegroundColorAttributeName]=[UIColor blackColor];
    attr3[NSFontAttributeName]=[UIFont systemFontOfSize:14];
    [[UITabBarItem appearance]setTitleTextAttributes:attr3 forState:UIControlStateNormal];
    
    NSMutableDictionary *attr4=[NSMutableDictionary dictionary];
    attr4[NSForegroundColorAttributeName]=[UIColor redColor];
    attr4[NSFontAttributeName]=[UIFont systemFontOfSize:14];
    [[UITabBarItem appearance]setTitleTextAttributes:attr4 forState:UIControlStateSelected];

}

相关文章:

  • 2022-12-23
  • 2021-12-23
  • 2021-10-19
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案