简体   繁体   English

iPad拆分视图控制器

[英]iPad Split view controller

Is there any way when I rotate an iPad split view app that my view could take up the full screen instead of the menu or resize it? 旋转iPad拆分视图应用程序时,有什么方法可以使我的视图占据全屏而不是菜单或调整其大小? I like the portrait mode with the menu in the button. 我喜欢带有按钮菜单的人像模式。

How would I go about doing this? 我将如何去做呢?

If you're asking if you can hide the master view when a UIScrollView is rotated to landscape orientation, you can't. 如果您问是否可以将UIScrollView旋转到横向时隐藏主视图,则不能。 That's not what UIScrollView is for. 那不是UIScrollView目的。 You'll have to write your own view controller class. 您必须编写自己的视图控制器类。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM