Can I apply Vision Pro to get the direction in which I am looking? The following document shows that visionOS is not supported, so it seems impossible... https://developer.apple.com/documentation/coremotion/cmdevicemotion/2890756-heading
Can I apply Vision Pro to get the direction in which I am looking?
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?