UISplitView - 横向模仿纵向模式
是否可以将 UISplitViewController 设置为在横向模式下工作,就像在纵向模式下一样?例如,详细信息视图采用全屏,主视图包含在弹出窗口中。
我的布局增加了复杂性,因为右侧的详细信息视图包含在导航控制器中,因此我见过的一两个示例似乎不起作用。
编辑:我只需要在详细视图中的其中一个视图上全屏显示。它正在显示照片,他们希望能够以横向方式全屏查看它们。
Is it possible to setup the UISplitViewController to work in landscape mode the same way as it does in portrait? e.g the details view takes the full screen with the master view contained in the popover.
The added complexity my layout has is that the details view on the right is contained within a navigation controller so the one or two examples I've seen of this don't seem to work.
EDIT: I only need full-screen on one of the views in my detail view. It's showing photo's and they want to be able to see them full screen in landscape.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
那么为什么需要分割视图呢?您可以只拥有一个带有工具栏或导航栏的普通视图,带有一个显示弹出窗口的栏按钮项目。
Why do you need to have a split view then? you can just have a normal view with a toolbar or a navigation bar, with a bar button item, which displays a pop over.