i have recently updated my iphone. I found this article to be helpful. my a-frame project worked the way it worked before updating to IOS 13.
https://medium.com/@leemartin/how-to-request-device-motion-and-orientation-permission-in-ios-13-74fc9d6cd140

It seems it needs to be triggered by user gesture so it won鈥檛 work on load as before, right?
Yep, it needs a user gesture for a "granted" response.
Following https://medium.com/@leemartin/how-to-request-device-motion-and-orientation-permission-in-ios-13-74fc9d6cd140, I got errors that says the following:
NotAllowedError: Requesting device orientation or motion access requires a user gesture to prompt
I clicked the touch-screen. I used a finger to swipe the touch-screen. Both of these actions did not cause permission requesting prompt to show up.
What is a user gesture? How can a user initiate one?
The call to requestPermission has to be triggered by a user gesture like a click or a tap. See 8th wall UI as an example (cancel/continue dialog):
Most helpful comment
The call to
requestPermissionhas to be triggered by a user gesture like a click or a tap. See 8th wall UI as an example (cancel/continue dialog):https://apps.8thwall.com/8w/jini/