可以在 viewWillAppear 设置成透明
self.navigationController.navigationBar.shadowImage = [UIImage new];
[self.navigationController.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];
在 viewWillDisppear 时重置
[self setBackgroundImage:nil forBarMetrics:UIBarMetricsDefault];