iPad:分屏控制器
我正在为 iPad 创建基于分割视图的应用程序。
我有 1)一个根视图控制器 2)一个详细视图控制器
它就像菜单和子菜单。
这里我打算做。我想在根视图控制器中进行导航。
建议使用或不使用。如果推荐的话怎么可能。
I am creating split view based application for iPad.
I have 1) a root view controller 2) a detail view controller
It is like menu and submenu.
Here I am planning to do. I would like to have navigation in root view controller.
It is recomonded to use or not. If it is recomended how is it possible.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
详细视图控制器中有一个用于显示或不显示弹出按钮的功能。也许您可以在应用程序委托中针对整个详细视图控制器进行调整?只需查看Apple提供的源代码即可。这一切都得到了很好的评论。
There is a function in the Detail View Controller for showing or not showing the popover Button. Possibly you could adapt that in the App Delegate for the whole Detail View Controller? Just go through the source code provided by Apple. It is all well commented.
不确定你在问什么。如果您询问是否建议按照您所描述的方式进行操作,那么是的,这是最推荐的方法。
根视图控制器(较小的左侧菜单)通常包含导航内容,而详细视图控制器(较大的右侧视图)包含所有详细内容。
您可能想在这里查看 操作方法。
其他文档可以在此处找到。
Not sure what you're asking. If you're asking whether it's recommended to do it like how you describe, then yes, that's the most recommended way to do it.
Root view controller (the smaller left side menu) usually contains the navigation stuff, while the detail view controller (the bigger right side view) contains all the detailed stuff.
You might want to take a look here for a How-To.
Other documents can be found here.