self.navigationController.view.backgroundColor = [UIColor whiteColor];//设置系统导航栏及大背景颜色。
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
[self.navigationController setNavigationBarHidden:NO animated:YES];//显示系统导航栏
self.navigationController.navigationBar.translucent = YES;
self.navigationController.view.backgroundColor = [UIColor whiteColor];//设置系统导航栏及大背景颜色。
// 开启返回手势
if ([self.navigationController respondsToSelector:@selector(interactivePopGestureRecognizer)]) {
self.navigationController.interactivePopGestureRecognizer.enabled = YES;
}
//白色
self.navigationController.navigationBar.barTintColor = [UIColor whiteColor];
self.navigationController.view.backgroundColor = [UIColor whiteColor];
}