8thwall / web

8th Wall Web projects and resources.
515 stars 326 forks source link

AR Placing not working with ios WKWebView #183

Closed AkimZay closed 3 years ago

AkimZay commented 3 years ago

I was making a simple iOS application with WKWebView.

Examples with ar masks work for me, but examplex with "A-Frame: Manipulate 3D Model" not running. I have request permission for "Motion sensor" -> I press "Continue" - > Allow -> and nothin

I'm testing on iPad 5th gen with iOS 15 beta and iPad 6th gen with iOS 14. When I open 8th wall through safari, everything works.

image image image

Tutorial for WKWebView which used - https://www.youtube.com/watch?v=3XTcVi7tASU

AkimZay commented 3 years ago

Everything turned out to be extremely simple - in WKWebPagePreferences setup content mode = .mobile