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