visionOS support
Open
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Please add support for compiling on visionOS.
So far the only issue I found to make it work is the usage of the NSUIScreen, as UIScreen is unavalable on visionOS.
This framework uses it to determine the scale
Oh and another spot is
`super.accessibilityFrame = containerView.convert(newValue, to: UIScreen.main.coordinateSpace)`
Other than that adding #if os(iOS) || os(tvOS) || os(visionOS) does the trick.
Contributor guide
Assessment
This issue has not been assessed yet.