mirror of
https://github.com/movixcorp/MovixOpenSource.git
synced 2026-08-15 15:35:38 +00:00
feat(ios): iPad universal support - TARGETED_DEVICE_FAMILY 1 → 1,2
TARGETED_DEVICE_FAMILY was set to 1 (iPhone only), causing the app to run in iPhone compatibility mode on iPad (small centered window). Set to "1,2" (Universal) in both Debug and Release build configs. Also add UISupportedInterfaceOrientations~ipad in Info.plist to declare all four orientations for iPad (including PortraitUpsideDown which is supported on iPad but not on modern iPhones). https://claude.ai/code/session_01X52sah6aUu3ou26uJWHgzr
This commit is contained in:
parent
9cf3ea79cf
commit
9d2341ded0
2 changed files with 9 additions and 2 deletions
|
|
@ -49,6 +49,13 @@
|
|||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||
<false/>
|
||||
<key>UIStatusBarStyle</key>
|
||||
|
|
|
|||
|
|
@ -440,7 +440,7 @@
|
|||
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = 1;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
};
|
||||
name = Debug;
|
||||
|
|
@ -472,7 +472,7 @@
|
|||
SUPPORTS_MACCATALYST = NO;
|
||||
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = 1;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
};
|
||||
name = Release;
|
||||
|
|
|
|||
Loading…
Reference in a new issue