[英]How to make a UINavigationBar NOT push down views?
I have multiple UIViewController
s in a UINavigationController
. 我在UINavigationController
有多个UIViewController
。 Sometimes I show the bar, sometimes I don't. 有时我会显示酒吧,有时我不会。 How do I make the navigation bar show without pushing down the view? 如何在不按下视图的情况下显示导航栏?
导航栏将始终向下推视图,除非它设置为半透明。
您可以覆盖pushViewController:方法
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.