ios - 我可以在 Storyboard 中将导航栏设置为透明吗?

标签 ios navigation

我在一个 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/

相关文章:

ios - 更改目录时 Gitlab CI 运行器作业失败退出状态 1

objective-c - animateWithDuration 立即完成

ios - 如何控制UIView动画的速度?

html - Rails 应用程序的基础顶部栏导航

没有固定宽度的CSS水平子菜单

ios - VoiceOver 辅助功能 accessibilityHint 未公布

ios - 合并两个数组的每个元素并附加到一个数组

php - 使用 header.php 页面时,我将如何使用 PHP 定义导航栏的 "active"选项卡

navigation - Faceting on distance in solr-如何生成在给定距离范围内搜索的链接

html - 导航下拉菜单未居中