简体   繁体   English

导航控制器后导航栏/状态栏的更改

[英]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.

相关问题 导航控制器和状态栏问题 - Navigation controller and status bar issue iOS 7 导航栏样式看起来像导航控制器导航栏 - iOS 7 navigation bar style to look like navigation controller nav bar 导航控制器-导航栏未显示在子项上 - Navigation Controller - Nav Bar not showing on children 无导航栏的模态搜索到导航控制器 - Modal Segue Into Navigation Controller with No Nav Bar iOS状态栏-View Controller到Navigation Controller - iOS status bar - View Controller to Navigation Controller 为什么将视图控制器嵌入导航控制器,然后在选项卡栏控制器中将导航栏附加到选项卡栏控制器? - Why does embedding a View Controller in a Navigation Controller, then in a Tab Bar Controller attach the nav bar to the Tab Bar Controller? 呈现视图控制器后更改iOS状态栏颜色或导航栏颜色? - Changing iOS status bar color or navigation bar color after presenting a view controller? 隐藏导航栏和选项卡栏后,UICollectionView框架会发生更改 - UICollectionView frame changes after hide Nav Bar and Tab Bar 有没有办法隐藏导航栏控制器,而不是IOS中的状态栏? - Is there a way to hide the navigation bar controller but not the status bar in IOS? 从应用程序委托中显示导航控制器后,状态栏和导航标题及项目会稍后显示 - Status Bar and navigation title and items appear a bit later after presenting Navigation controller from App delegate
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM