Skip to content

namedOrientationDidChange not supported on iOS #11429

@TLenahan

Description

@TLenahan

Description

Currently there is no implementation of the namedOrientationDidChange event for iOS. There is also an issue with Dimensions not correctly updating on rotation which there is a Pull Request out for. I am looking to be able to subscribe to the namedOrientationDidChange event on both platforms.

Reproduction

Although I am unable to rotate the Simulator/Emulator on RNPlay, i have created an example app to demonstrate how I am using the namedOrientationDidChange event.
https://rnplay.org/apps/T7yq6A

Solution

Will namedOrientationDidChange be implemented on the iOS side? Or is it suggested to use a third party library. I would prefer to not rely on a third party library if RN can provide a solution.

Additional Information

  • React Native version: 0.39.0
  • Platform: iOS
  • Operating System: MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions