//全透明[[UINavigationBar appearance] setBackgroundImage:[[UIImage alloc] init] forBarMetrics:UIBarMetricsDefault];//删除下边界线[[UINavigationBar appearance] setShadowImage:[[UIImage alloc] init]];
转:https://www.cnblogs.com/Eazy/p/5284612.html