I was wondering if anyone has managed to figure out a way to properly detect visionOS in Safari ? So I dont include device orientation controls when going fullscreen for my VR player features. It comes up as detecting as Ipad and so has ipad functions it cant do. Its asking for orientation permissions it doesn’t need also.
I've already got transient-pointer XR input controls working.
I’m not sure why they did that other than making life hard for developers I already had to spend days trying to fix my VR Canvas picture in picture hacks and Iphone fullscreen hack as Iphone still doesnt have html fullscreen support for WebGL canvas. those hacks decided to break. desktop safari now needed the canvas video added to dom to get pip working and and now a 100ms delay was needed to get Iphone fullscreen working.