标签:bar arm nba rpo init orb back 导航栏 for
全局隐藏[[UINavigationBar appearance] setBackgroundImage:[[UIImage alloc] init] forBarPosition:UIBarPositionAny barMetrics:UIBarMetricsDefault];
[[UINavigationBar appearance] setShadowImage:[[UIImage alloc] init]];
或者
[UINavigationBar appearance].clipsToBounds = YES;
[self.navigationController.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];
[self.navigationController.navigationBar setShadowImage:[UIImage new]];
或者
self.navigationController.navigationBar.clipsToBounds=YES;
标签:bar arm nba rpo init orb back 导航栏 for
原文地址:https://blog.51cto.com/2254359459/2531502