是否可以在横向模式下隐藏 SplitView iPad 应用程序的 RootViewController?
我有一个 iPad 应用程序,它像大多数 iPad 应用程序一样使用 RootViewController/DetailViewController 模式。与往常一样,在横向模式下,我的 RootViewController “停靠”在屏幕左侧,而 DetailViewController 则填充屏幕的其余部分。
我想做的是隐藏 RootViewController 并允许详细视图填充整个屏幕即使在横向模式下。这可能吗?
我尝试调用dismissPopoverAnimated,但这在横向模式下似乎没有任何效果。
I have an iPad app that uses the RootViewController/DetailViewController pattern like most iPad apps. As usual, in landscape mode my RootViewController is "docked" to the left side of the screen, and the DetailViewController fills up the remainder of the screen.
What I would like to do is hide the RootViewController and allow the detail view to fill up the entire screen even in landscape mode. Is this possible?
I tried calling dismissPopoverAnimated, but this doesn't seem to have any effect in landscape mode.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
因为你已经标记了ios4,我想说该选项在ios 4中已被禁用..在ios 3中是可能的,但我不知道如何...
since u have tagged ios4, I would like to say that that option has been disabled in ios 4.. it was possible in ios 3 but I am not able to find out how...