白忙活一个下午,本想使用一个 按钮 然后开启一个 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 aUISplitViewController object as the root view of your application’s window.
看看这句话。那些还打算在别的地方使用的童鞋 趁早放弃想法吧。
文章讨论了在iOS应用开发中,尝试通过按钮触发UISplitViewController界面时遇到的问题,解释了UISplitViewController必须作为窗口根视图的限制,并建议开发者调整预期或寻找替代方案。
26

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



