Note: this only supports "immersive-vr" currently.
WebXR iOS
WebXR for iOS that works with the normal polyfill
Setup and installation
- Download
/build/webxr-ios.min.js
- Add the following to your HTML:
import WebXR_iOS from "./webxr-ios.min.js"
(Requires ESM)
- Initialize WebXR iOS
import WebXR_iOS from "./webxr-ios.min.js";
var xr_ios = WebXR_iOS({
debug: false,
ui: true,
});
Are you supported?
-
Browsers
- Safari
- Firefox
- Chrome
- Edge
- Any Chromium based browsers
-
Mobile Support
- iOS ( Cardboard )
- iPadOS ( Development )
-
Headset Support
- Cardboard
-
If you use WebXR iOS alongside the normal polyfill then you can have:
- Google Daydream
- HTC Vive
- Magic Leap One
- Microsoft Hololens
- Oculus Rift
- Samsung Gear VR
- Windows Mixed Reality headsets
License