commit 1c0b84461d48121eef5c62aec7fe7c02cfb27274
parent 4e826c57fc1461dcee655f8fc772046127de01be
Author: Michael Camilleri <[email protected]>
Date: Sun, 14 Jun 2026 08:52:04 +0900
Lock orientation on iOS
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Crossmate/Info.plist b/Crossmate/Info.plist
@@ -73,6 +73,10 @@
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
+ </array>
+ <key>UISupportedInterfaceOrientations~ipad</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
diff --git a/project.yml b/project.yml
@@ -79,6 +79,8 @@ targets:
UILaunchScreen: {}
UISupportedInterfaceOrientations:
- UIInterfaceOrientationPortrait
+ UISupportedInterfaceOrientations~ipad:
+ - UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight