//設(shè)置透明
[self.navigationController.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];
//設(shè)置導(dǎo)航欄底部分割線隱藏
[self.navigationController.navigationBar setShadowImage:[UIImage new]];
//設(shè)置透明
[self.navigationController.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];
//設(shè)置導(dǎo)航欄底部分割線隱藏
[self.navigationController.navigationBar setShadowImage:[UIImage new]];