我在一个 UITabBarController 中有几个 UIViewController。
在每个 UIViewController 的 viewDidLoad 方法中,我都包含了这一行:
self.navigationController.navigationBar.translucent = NO;
Storyboard 中是否有设置可以实现同样的效果?
最佳答案
是的,你可以更改导航 Controller 的导航栏,只需在文档大纲中选择它即可,勾选此iOS7 nav bar translucent = NO
关于ios - 我可以在 Storyboard 中将导航栏设置为透明吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21910741/