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
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