I am attempting to create a simple compass for Apple Vision Pro. The method I am familiar with involves using:
locationManager.startUpdatingHeading()
locationManager(_ manager: CLLocationManager, didUpdateHeading newHeading: CLHeading)
However, this does not function on visionOS as 'CLHeading is unavailable in visionOS'.
Is there any way to develop this simple compass on visionOS?