我使用教程制作了一个游戏,在 iphone 和 ipad 中,方向是纵向的,但是当移植到 android 时,屏幕方向始终是横向的。反正有没有强制android纵向播放它?
我在 Release.final 中有 infoplist 键:
"infoplists": [
"./Source/Resources/Info.plist"
],
info.plist 还显示:
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>