Skip to content

Comments

Restore iPhone landscape orientations in iOS template#207

Open
unstableair wants to merge 1 commit intoreact-native-community:mainfrom
unstableair:fix/restore-iphone-landscape
Open

Restore iPhone landscape orientations in iOS template#207
unstableair wants to merge 1 commit intoreact-native-community:mainfrom
unstableair:fix/restore-iphone-landscape

Conversation

@unstableair
Copy link

See #206

Summary:

This restores support for iPhone landscape orientations in the iOS community template Info.plist.
As part of the work to support iPad window resizing (#183), the 0.84 template now only declares portrait for iPhone, which prevents rotation to landscape in newly created apps. This change reverts iPhone behaviour to the long-standing default, while keeping the iPad-specific orientation settings required for window resizing.

Changelog:

IOS FIXED - Restore iPhone landscape orientations in iOS community template Info.plist

Test Plan:
• Created a new app using the current community template (npx @react-native-community/cli init TestApp).
• Ran the app on an iPhone simulator.
• Before change: rotating the simulator does not rotate the app (portrait-only).
• After change: rotating the simulator correctly rotates the app to landscape left/right.

@kmichalikk
Copy link

Hi
We noticed the same issue in react-native-screens, and can confirm this resolves the problem.

kmichalikk added a commit to software-mansion/react-native-screens that referenced this pull request Feb 19, 2026
## Description

This PR adds allowed screen orientations to iPhone that were removed
react-native-community/template#183. The fix has
been submitted in
react-native-community/template#207, but it
won't be available for some time.

## Changes

Updated Info.plist for FabricExample.

## Test plan

Build the app; see if rotating the screen works.

## Checklist

- [ ] Ensured that CI passes
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