[英]Changes in Nav Bar/Status Bar after Navigation Controller
I'm just wondering could anyone tell me why the navigation bar and status bar in an app different after it has passed through a navigation controller? 我只是想知道有人能告诉我为什么应用程序中的导航栏和状态栏通过导航控制器后会有所不同吗?
The app I'm working on is a Tab Bar Controller app that has one section with a table view ('More' tab). 我正在使用的应用程序是一个选项卡栏控制器应用程序,该应用程序的一个部分具有表视图(“更多”选项卡)。 This view controller that holds the table view is embedded in a navigation controller. 包含表格视图的该视图控制器嵌入在导航控制器中。 The navigation bar and status bar reach further down the page in the 'More' tab and I feel it is something to do with the navigation controller. 导航栏和状态栏位于“更多”选项卡中的页面下方,我认为这与导航控制器有关。
I would love if all the tabs had a matching style for the navigation bar and status bar. 我希望所有选项卡的导航栏和状态栏都具有匹配的样式。 Apologies if I am not describing this clearly, I can't post images yet as I am just starting out with development and SO. 抱歉,如果我没有清楚地描述这一点,那么我还不能发布图像,因为我只是从开发和SO开始。
I suppose I am asking: 我想我在问:
How to change the appearance of status and navigation bar in a Navigation Controller? 如何在导航控制器中更改状态和导航栏的外观?
Any help I get will be gratefully received. 我将得到的任何帮助将不胜感激。 Thank you. 谢谢。
Here is the solution you search for: 这是您要搜索的解决方案:
Question 1: How to change the appearance of status bar 问题1: 如何更改状态栏的外观
Question 2: How to change the appearance of navigation bar or this 问题2: 如何更改导航栏的外观或此
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.