XCode:无法通过故事板更改导航栏色调
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21046831/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
XCode: cannot change Navigation Bar tint via Storyboard
提问by patman
i wan't to give a NavigationBar a certain tint, however i cannot find the setting in XCode. Is it still present? I saw a number of tutorials mentioning that possibility (i.e. http://www.appcoda.com/customize-navigation-status-bar-ios-7/).
我不想给 NavigationBar 一个特定的色调,但是我在 XCode 中找不到设置。它仍然存在吗?我看到许多教程提到了这种可能性(即http://www.appcoda.com/customize-navigation-status-bar-ios-7/)。
Where do i have to click to get this dialog? I tried the NavigationController, everywhere inside the NavigationController and the Navigation Items in the subcontrollers.
我必须在哪里点击才能获得这个对话框?我尝试了 NavigationController,到处都是 NavigationController 和子控制器中的 Navigation Items。
I know how to do it programmatically so that's not my question here.
我知道如何以编程方式做到这一点,所以这不是我的问题。
Thanks guys.
谢谢你们。
回答by Michael Dautermann
In your storyboard, you'll need to click on the "Navigation Bar" object and then look at the object's attributes.
在故事板中,您需要单击“导航栏”对象,然后查看该对象的属性。
In Xcode, it'll look like this:
在 Xcode 中,它看起来像这样: