From 5ea66c9c6456385039803191d28587717b707760 Mon Sep 17 00:00:00 2001 From: artus9033 Date: Thu, 30 Oct 2025 16:39:19 +0100 Subject: [PATCH 1/2] feat: support iPad destination --- template/ios/HelloWorld.xcodeproj/project.pbxproj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/template/ios/HelloWorld.xcodeproj/project.pbxproj b/template/ios/HelloWorld.xcodeproj/project.pbxproj index b4a9514..9bdbe64 100644 --- a/template/ios/HelloWorld.xcodeproj/project.pbxproj +++ b/template/ios/HelloWorld.xcodeproj/project.pbxproj @@ -273,8 +273,10 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = HelloWorld; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; @@ -300,7 +302,9 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = HelloWorld; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; }; name = Release; From 87bc5010b51f59a713ec721c8789c78ec4dbc120 Mon Sep 17 00:00:00 2001 From: artus9033 Date: Thu, 30 Oct 2025 16:39:40 +0100 Subject: [PATCH 2/2] feat: support all 4 orientations on iPad to enable window resizing on iPad out-of-the-box --- template/ios/HelloWorld/Info.plist | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/template/ios/HelloWorld/Info.plist b/template/ios/HelloWorld/Info.plist index f308416..bbc7a45 100644 --- a/template/ios/HelloWorld/Info.plist +++ b/template/ios/HelloWorld/Info.plist @@ -45,8 +45,13 @@ UISupportedInterfaceOrientations UIInterfaceOrientationPortrait + + UISupportedInterfaceOrientations~ipad + UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown UIViewControllerBasedStatusBarAppearance