2016-11-10 35 views

回答

1

您應該使用方法

func splitViewController(_ splitViewController: UISplitViewController, collapseSecondary secondaryViewController: UIViewController, onto primaryViewController: UIViewController) -> Bool 

它通過UISplitViewControllerDelegate

+0

這一工作的感謝提供。關注此博客文章,幫助我瀏覽解決方案http://useyourloaf.com/blog/split-view-controller-display-modes/ –