iPad:分屏控制器

发布于 2024-09-06 03:25:51 字数 144 浏览 2 评论 0原文

我正在为 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

故事还在继续 2024-09-13 03:25:51

详细视图控制器中有一个用于显示或不显示弹出按钮的功能。也许您可以在应用程序委托中针对整个详细视图控制器进行调整?只需查看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.

云胡 2024-09-13 03:25:51

不确定你在问什么。如果您询问是否建议按照您所描述的方式进行操作,那么是的,这是最推荐的方法。

根视图控制器(较小的左侧菜单)通常包含导航内容,而详细视图控制器(较大的右侧视图)包含所有详细内容。

您可能想在这里查看 操作方法

其他文档可以在此处找到。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文