How to make the landscape view look same as the portraitView while using a splitViewController?

↘锁芯ラ 提交于 2019-12-08 13:37:39

问题


What I meant is, When we use a UISplitViewController project

In portrait mode, whole window will be covered by the view and a popoverController will be presented to navigate to other views. In landscape mode, 40% of the window will be covered by a tableView using which we can change the view/page. And navigation button as well as popoverController will be hidden.

What I want is,

Even in landscape mode, it should be like portrait mode. No tablewView should be there. Whole window should be covered with the view in landscape mode. For navigating to other pages, a navigation button as well as the popoverController should be there.

How can I do this?? Plz help me...


回答1:


Login to your developer account, goto dev forums and search for "UISplitViewController settings.app". there's lots of talk about that there. The summary is you can't do it though that controller apparently has some private features which make it possible (file a bug report telling apple they should expose that capability). There is a long discussion about building a splitview controller from scratch that mostly works this way. Alternately, rethink your design.



来源:https://stackoverflow.com/questions/2673241/how-to-make-the-landscape-view-look-same-as-the-portraitview-while-using-a-split

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!