iOS13 解决 TabBar 选中文字颜色为蓝色问题

设置选中颜色

        [nav.tabBarItem setTitleTextAttributes:@{NSForegroundColorAttributeName:UIColorFromRGB(0xFF7B41)} forState:UIControlStateSelected];

iOS 13 设置下默认颜色就好了

 if (@available(iOS 13.0, *)) {
         [[UITabBar appearance] setUnselectedItemTintColor:[UIColor lightGrayColor]];
    }