react-native icon indicating copy to clipboard operation
react-native copied to clipboard

feat(iOS): add RCTUIInterfaceOrientation method and remove usage of statusBarOrientation

Open krozniata opened this issue 2 years ago • 0 comments

Summary:

This PR removes usage of deprecated statusBarOrientation method in RCTDeviceInfo and RCTModalHostView for retrieving interface orientation and adds RCTUIInterfaceOrientation helper method to get orientation from window scene instead.

Changelog:

[IOS] [REMOVED] - Remove usage of deprecated statusBarOrientation method [IOS] [ADDED] - Add RCTUIInterfaceOrientation helper method

Test Plan:

RNTester builds and runs successfully

krozniata avatar Feb 15 '24 23:02 krozniata