Skip to content

Conversation

@artus9033
Copy link
Contributor

@artus9033 artus9033 commented Oct 30, 2025

Summary:

The motivation for this PR is for any app generated with the RN Community CLI using this template to include support for window resizing (by dragging the bottom-right corner) on iPads out-of-the-box. One example voice for such feature from the community can be found in facebook/react-native#54105.

There are 2 changes required to bring support for window resizing on iPad:

  • list iPad as a supported destination in project.pbxproj for the app not to run in compatibility mode
  • list all 4 supported orientations so as to enable resizing of the window to arbitrary size on iPad

Changelog:

[IOS] [ADDED] - List iPhone and iPad as supported targets in project.pbxproj, support all 4 orientations on iPad in Info.plist to enable window resizing on iPad

Test Plan:

Test locally with npx @react-native-community/cli@latest init AwesomeProject --template=file:/path/to/template

Result before: unable to resize, as shown in facebook/react-native#54105
Result after: ability to resize to minimum size (same as e.g. the system calendar app):

image

@cipolleschi cipolleschi enabled auto-merge (squash) November 6, 2025 14:59
@cipolleschi cipolleschi merged commit 8f0e660 into react-native-community:main Nov 6, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants