IOS 导航栏颜色设置

 
    if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0) {
        [self.navigationBar setBarTintColor:[UIColor colorWithRed:255/255.0 green:83/255.0 blue:35/255.0 alpha:1]];
    } else {
        [[UINavigationBar appearance] setTintColor:[UIColor colorWithRed:255/255.0 green:83/255.0 blue:35/255.0 alpha:1]];
    }

你可能感兴趣的:(ios)