Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ifdef orientation code that requries iOS 16 (#1794)
## Description Currently when XCode w/o support for iOS 16 is used the RNSScreens compilation will most surely fail due to unrecognized symbols being present in the `RNSScreenWindowTraints` code. See [this discussion](#1732 (comment)). ## Changes Added compilation guards for iOS sdk version. When not present old implementation is used. ## Test code and steps to reproduce See #1732 & try to compile & test on different major versions of xcode (e.g. 12 & 14) ## Checklist - [ ] Ensured that CI passes
- Loading branch information