ChartsOrg / ChartsOrg/Charts

visionOS support

Open
#5,146 8 comments 0 reactions 1 assignee Claimed by @pmairoldi View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.