文章目录 I 、设置状态栏背景颜色(图片) 1.1 设置背景图片 1.2 设置颜色 I、 导航栏设置 1.1 自定义导航栏的中间视图 1.2 设置导航条渐变颜色 1.3 导航条相关设置 I 、设置状态栏背景颜色(图片) 1.1 设置背景图片 + (void)setStatusBarBackgroundImage:(UIImage *)image color:(UIColor*)color{ UIView *statusBar