如何允许IOS 13上的浏览器访问iPhone 6s的陀螺仪? [英] How do I allow a browser on IOS 13 to access my iPhone 6s' Gyroscope?
问题描述
我正在尝试在iPhone 6s上使用A-Frame运行webVR程序,而我测试过的这三种浏览器都没有可以访问我的陀螺仪。
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.
当前,当我输入 https://vrfinal.glitch.me 并切换到chrome上的Google纸板视图,它会出错,并且在手机移动时不会漫游我的视图。
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.
推荐答案
使用 A框架主版本在iOS 13+上。
Use A-Frame master build on iOS 13+. Make sure to serve your content over https.
这篇关于如何允许IOS 13上的浏览器访问iPhone 6s的陀螺仪?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!