[英]Support different orientations on iPhone & iPad?
I want to support both portrait and landscape on iPad, but only portrait on iPhone.我想在 iPad 上支持纵向和横向,但在 iPhone 上只支持纵向。 Is it possible?
可能吗? What is the best way to do this?
做这个的最好方式是什么?
There's only one set of "Device orientation" checkboxes in the project settings.项目设置中只有一组“设备方向”复选框。
There's only one set of "Device orientation" checkboxes in the project settings.
项目设置中只有一组“设备方向”复选框。
Yes, and you use it like this:是的,你像这样使用它:
Check just iPhone.只检查 iPhone。
Check just portrait.只检查肖像。
Check just iPad.只检查 iPad。
Check all four orientations.检查所有四个方向。
Check both iPhone and iPad.检查 iPhone 和 iPad。
I know it's confusing, but that will do what you want.我知道这很令人困惑,但这会做你想要的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.