白忙活一个下午,本想使用一个 按钮 然后开启一个UISplitViewController界面,等到看了apple的
文档后 彻底醒悟,那是不可能的。
A split view controller must always be the root of any interface you create. In other words, you must always
install the view from aUISplitViewControllerobject
as the root view of your application’s window.
看看这句话。那些还打算在别的地方使用的童鞋 趁早放弃想法吧。
本文探讨了UISplitViewController在iOS应用开发中的正确使用方式。指出该视图控制器必须始终作为应用程序窗口根视图的一部分,不能通过普通按钮操作来调用。这对于希望了解并正确使用UISplitViewController特性的开发者来说非常重要。
296

被折叠的 条评论
为什么被折叠?



