0

我想知道是否可以在自定义容器控制器(或标签栏控制器)中显示 splitviewcontroller?我从这个文档和其他帖子中看到:

拆分视图控制器必须始终是您创建的任何界面的根。换句话说,您必须始终将 UISplitViewController 对象中的视图安装为应用程序窗口的根视图。[...] 拆分视图控制器不能以模态方式呈现。

我的应用程序中有一个启动画面,它将引导我进入这个容器控制器,我想包含一个 splitview 控制器。根据 Apple 编程指南是不可能的,还是有任何解决方法?

4

1 回答 1

0

It is technically possible, but you run the risk of violating Apple UX guidelines. What you can do is embed a splitview controller as a child viewcontroller of an blank UIViewController instance, and then present that viewcontroller instead of presenting the UISplitViewController directly.

于 2012-04-25T23:36:52.967 回答