通用应用程序示例

发布于 2024-12-21 12:33:32 字数 324 浏览 3 评论 0原文

我想制作一个带有 UITableView 和详细信息视图的简单应用程序。我以前已经这样做过。现在唯一的区别是,我希望它成为一个通用应用程序,其组织如下:

  • 对于 iPhone:具有 2 个级别的 UINavigationController。我的 TableView 控制器,然后是 UIViewController 来显示详细信息

  • 对于 iPad:用于 TableView 和详细信息视图控制器的 UISplitViewController。

我不知道从哪里开始。有人可以给我指出一个很好的教程吗?

提前致谢。

I would like to make a simple app with a UITableView and a Details View. I've already done that before. The only difference now is that I would like it to be an universal app that is organized like this :

  • For iPhone : a UINavigationController with 2 levels. My TableView Controller and then a UIViewController to show the details

  • For iPad : an UISplitViewController for both the TableView and Details view controller.

I don't know where to start. Could someone point me on a good tutorial for this?

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

你对谁都笑 2024-12-28 12:33:32

我终于在这个位置找到了一个代码示例: https://github.com/kwylez/Universal -iOS-应用程序模板

I finally found a code example at this location : https://github.com/kwylez/Universal-iOS-App-Template

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