修改tabbar 字体颜色

NSDictionary *seletedTextAttrs = @{NSForegroundColorAttributeName:[UIColor orangeColor]};

修改tabbar 字体颜色
[childVc.tabBarItem setTitleTextAttributes:seletedTextAttrs forState:UIControlStateSelected];

原文地址:https://www.cnblogs.com/guangleijia/p/4864554.html