简体   繁体   English

iOS 7 导航栏样式看起来像导航控制器导航栏

[英]iOS 7 navigation bar style to look like navigation controller nav bar

When using the navigation controller or embedding a view controller in navigation controller, the navigation bar light grey color covers the status bar also (the carrier, time, battery, etc).当使用导航控制器或在导航控制器中嵌入视图控制器时,导航栏浅灰色也会覆盖状态栏(运营商、时间、电池等)。 When dragging a navigation bar onto the view controller, the status bar is still white.将导航栏拖到视图控制器上时,状态栏仍然是白色的。 You can't change the height of the navigation bar...so how can I make everything look and feel the same?你不能改变导航栏的高度……那么我怎样才能让一切看起来和感觉都一样? Here's the two images:这是两张图片:

在此处输入图片说明在此处输入图片说明

As you can see, Chat shows that white space above the nav bar, whereas Social doesn't...any workout for this?如您所见,Chat 会显示导航栏上方的空白区域,而 Social 不会……为此进行任何锻炼?

In this case navigation bar looks like non-transparent.在这种情况下,导航栏看起来不透明。 Please check properties of navigation bar and/or initialization of this bar to be sure that it's transparent.请检查导航栏的属性和/或此栏的初始化以确保它是透明的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM