[[UIBarButtonItem appearance] setBackButtonTitlePositionAdjustment:UIOffsetMake(NSIntegerMin, NSIntegerMin) forBarMetrics:UIBarMetricsDefault];//清空返回按钮显示上一级标题,导致侧滑时出现标题显示错乱
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:NO];//状态栏背景颜色配置
//导航栏全透明
self.navigationController.navigationBar.translucent = NO;
[self.navigationController.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];
self.navigationController.navigationBar.shadowImage = [UIImage new];
//隐藏导航栏,push出现黑色阴影解决
[self.navigationController setNavigationBarHidden:YES animated:YES];//在viewWillAppear中使用
[self.navigationController setNavigationBarHidden:NO animated:NO];//在viewWillDisappear中使用