Integrate iOS device camera and motion features to produce augmented reality experiences in your app or game.
SDK
- iOS 11.0+
Overview
Augmented reality (AR) describes user experiences that add 2D or 3D elements to the live view from a device's camera in a way that makes those elements appear to inhabit the real world. ARKit combines device motion tracking, camera scene capture, advanced scene processing, and display conveniences to simplify the task of building an AR experience.
Important
ARKit requires an iOS device with an A9 or later processor.
To make your app available only on devices supporting ARKit, use the arkit key in the UIRequiredDeviceCapabilities section of your app's Info.plist. If augmented reality is a secondary feature of your app, use the is property to determine whether the current device supports the session configuration you want to use.
Note
All AR configurations use one of the device's built-in cameras. Your app's Info.plist must include user-facing text for the NSCameraUsageDescription key so that the user can grant your app permission to access the camera. (If you create a new ARKit app using the Xcode template, a description is provided for you.)