当应用程序更改为横向模式时,导航栏会显示两次
不确定这里发生了什么,但即使我回到原始视图,我的 iPhone 应用程序导航栏也会显示回来以及我的详细视图控制器的标题。它不是早些时候发生的,而是最近发生了变化(但不确定具体时间)。
例如,我单击一行,查看 didSelectRow XIB,然后单击返回 NavBar 控制器,但即使视图确实变回原始表视图,它仍然显示回来。然后我必须再次按回来然后它就清除了。
更新:就好像它试图返回三次而不是两次。因为,如果您在没有删除后退按钮的情况下访问另一行,它会存储它,就好像您需要返回两次一样。
它在纵向模式下运行良好。
有什么想法吗?
Not sure what's going on here, but my iPhone apps nav bar shows back and the title of my detail view controller even when I'm back to the original view. It wasn't happening earlier, it has changed recently (but not sure when exactly).
E.g. I click on a row, view the didSelectRow XIB and then click back on the NavBar controller, but it still shows back even though the view does change back to the original table view. I then have to press back again and then it clears.
Update: It's as if its trying to go back three times instead of two. Because, if you visit another row without removing the back button, it stores it as if you need to go back twice.
It works fine in portrait mode.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
并非所有桌子都设置为自动旋转,因此他们的视图仍然保持纵向。
Not all the tables had been set to auto-rotate, so their views were still staying portrait.