iOS修改系统默认的tabBarItem的颜色

  • (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    [[UITabBar appearance] setTintColor:[UIColor blackColor]]; // 主要是这句代码
    return YES;
    }

    推荐阅读