Try to make the app validation happy.

This commit is contained in:
Henrik Rydgård
2026-02-14 13:37:15 +01:00
parent 3321af1a74
commit baa28d1a8e
2 changed files with 12 additions and 0 deletions
+4
View File
@@ -113,6 +113,10 @@ __attribute__((used)) static Class _forceLinkSceneDelegate = [SceneDelegate clas
return UIInterfaceOrientationMaskLandscapeRight;
case ROTATION_LOCKED_VERTICAL:
case ROTATION_LOCKED_VERTICAL180:
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
// iPad supports both portrait orientations, so allow them.
return UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown;
}
// We do not support reverse portrait on iOS.
return UIInterfaceOrientationMaskPortrait;
case ROTATION_LOCKED_HORIZONTAL180:
+8
View File
@@ -63,7 +63,15 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>UILaunchScreen</key>
<dict>
<key>UIColorName</key>
<string>black</string>
<key>UIImageName</key>
<string>LaunchIcon</string>
</dict>
<key>UILaunchImageFile</key>
<string>Default.png</string>
<key>UIFileSharingEnabled</key>