This is a basic example of AR camera using aframe-ar with experimental browsers for ARKit and ARCore.
By simply adding the ar
component to your A-Frame scene declaration:
<a-scene ar>
...
</a-scene>
aframe-ar will, when using a supported browser, take over the scene camera using information from ARKit / ARCore.