UINavigationBar隐藏属性问题
美好的一天,伙计们,
我想知道你是否可以帮助我解决我的问题。我有一些由 TTNavigator 监控的视图。我已将第一个视图中的导航栏设置为在应用程序的其余持续时间内隐藏。起初一切似乎都很好,我进入下一个视图,然后尝试导航回第一个视图,令我惊讶的是导航栏的隐藏属性设置为“可见”...
我使用的方法是“self.navigationController.navigationBarHidden = 是/否;
"
Good day guys,
I was wondering if you could help me with my problem. I have a few views which are monitored by a TTNavigator. I've set the Navigation bar in my first view to be hidden the rest of the duration of the application. At first it all seemed well, i proceeded to the next view, then tried to navigate back to the first view, to my surprise the navigation bar's hidden property was set to "visible"...
The method I used was "self.navigationController.navigationBarHidden = YES/NO;
"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,你是对的。我认为这是 Three20 框架中的一个错误。要解决此问题,请尝试:
或:
但它是一个私有的 Three20 函数,因此它会给您一个编译通知。
yeah, you're right. I think it's a bug in three20 framework. To workaround it, try:
or:
but it's a private three20 function, so it would give you a compile notice.