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

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

你可能感兴趣的:(iOS修改系统默认的tabBarItem的颜色)