Needle Engine Documentation
Getting Started
Tutorials
How-To Guides
Explanation
Reference
Help
Getting Started
Tutorials
How-To Guides
Explanation
Reference
Help

WebXRiOS WebXR Support for Needle Engine

Now Available

iOS WebXR support is now available natively in Needle Engine.

Needle Engine now includes native iOS WebXR support through App Clip technology. While Safari on iOS doesn't support WebXR by default, Needle Engine automatically bridges this gap using native ARKit to provide full WebXR functionality in a lightweight, instant-launch format.

iOS WebXR on iPhone

How iOS WebXR Works in Needle Engine

Needle Engine automatically enables WebXR AR experiences on iPhone and iPad using App Clip technology (powered by "Needle Go"). App Clips launch instantly without requiring full app installation, making it perfect for sharing AR experiences via QR codes, links, or smart app banners.

Key Benefits:

  • No Installation Required: Users access AR experiences instantly without downloading an app
  • Native iOS WebXR: Run WebXR scenes on iPhone and iPad with full ARKit integration
  • Easy Sharing: Share AR experiences through QR codes, links, or website banners
  • Full AR Features: Supports hit testing, anchors (wip), lighting estimation (wip), and more
  • Works with three.js: Also compatible with any three.js-based web application via Needle Go

Why Native iOS WebXR Support?

WebXR is not natively supported on Safari for iOS. Previously, the only option was Mozilla's WebXR Viewer app, which requires installation and hasn't been updated in years.

Needle Engine solves this by providing instant access to WebXR experiences through Apple's App Clip technology, automatically handling the integration for you.

Getting Started

Try it now

Visit appclip.needle.tools on your iPhone or iPad with Safari to experience iOS WebXR in action.

How does iOS WebXR work in Needle Engine?

Needle Engine uses App Clips to instantly launch WebXR experiences in Augmented Reality without requiring app installation. The integration is automatic—your existing Needle Engine projects work on iOS without modifications.

Which devices are supported?

iOS WebXR in Needle Engine works on iPhone and iPad devices running iOS 14 or later, from the Safari or Chrome browser.

Experience WebXR AR on iOS

Users can experience your Needle Engine WebXR content through their iPhone or iPad screen, viewing and interacting with 3D content overlaid on the real world using native ARKit capabilities.

iOS WebXR Physics Example More iOS WebXR Examples

Try out more iOS WebXR examples at appclip.needle.tools.

Using iOS WebXR with Needle Engine

Your existing Needle Engine WebXR scenes work automatically on iOS. Simply ensure your scene:

  1. Has a WebXR component with the createARButton option enabled (see WebXR documentation)
  2. Is deployed to a publicly accessible HTTPS URL
  3. Is optimized for mobile devices

Enabling iOS WebXR

There are two ways to enable iOS WebXR support in your Needle Engine project:

Option 1: Enable AR Button (Recommended)
Enable the createARButton option in your WebXR component. This automatically creates a button that users can tap to enter AR mode.

Option 2: Start Programmatically Manually start an XR session in your code:

NeedleXRSession.start("ar");

No Additional Changes Required

The WebXR-to-ARKit integration is handled automatically when users access your experience on iOS Safari and Chrome. On Android the standard WebXR API is used.

For Vanilla three.js Applications

If you're using vanilla three.js (not Needle Engine), you can enable iOS WebXR support by linking to:

https://appclip.needle.tools/ar?url=<your-webxr-url>

Example:

https://appclip.needle.tools/ar?url=https://example.com/my-ar-experience

Use this URL in QR codes, links, or share it directly. When opened on iPhone or iPad, it launches the Needle Go App Clip with your WebXR experience.

Supported WebXR Features

Needle Engine's iOS WebXR support includes comprehensive functionality:

  • WebXR session management
  • Hit testing and plane detection
  • DOM overlays for UI elements
  • Image tracking
  • Anchor creation and tracking (wip)
  • Lighting estimation (wip)

Troubleshooting

AR experiences aren't working

Ensure that camera permissions are granted. Check in your device settings if the App Clip has access to the camera.

Contact Us

If you need further assistance, you can reach us at:

  • Email: hi@needle.tools
  • Website: needle.tools
  • Discord: Discord community

Alternative: Everywhere Actions

Looking for a different iOS AR approach? Check out Everywhere Actions, which enables interactive AR experiences on iOS using USDZ and QuickLook (Apple's native 3D format).

Related Documentation

  • WebXR Documentation - Setting up WebXR in Needle Engine
  • Image Tracking - WebXR image tracking guide
  • Everywhere Actions - iOS AR solution using USDZ
  • Deployment - Publishing your Needle Engine projects
Suggest changes
Last Updated: 1/29/26, 10:18 AM

On this page

Extras

Copy for AI (LLMs)