iosgoogle-chromesafariaframegoogle-cardboard

How do I allow a browser on IOS 13 to access my iPhone 6s' Gyroscope?


Original Question

I am attempting to run a webVR program using A-Frame on my iPhone 6s, and these three browsers I have tested do not have access to my gyroscope.

Safari
Chrome
Firefox

I believe this could be fixed if the apps had the permission to, but there is not an easy way to do this switch that I have found. If anyone can give me a way to do this (without jailbreaking) it would be appreciated.

Currently when I enter https://vrfinal.glitch.me and switch to google cardboard view on chrome, it bugs out and does not roatate my view when my phone moves.


Solution

  • Use A-Frame master build on iOS 13+. Make sure to serve your content over https.

    Corrected glitch. Make sure you access over HTTPS