白忙活一个下午,本想使用一个 按钮 然后开启一个 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 a
UISplitViewController
object as the root view of your application’s window.
看看这句话。那些还打算在别的地方使用的童鞋 趁早放弃想法吧。