Make sure your app can use ARKit and respects user privacy.
ARKit requires iOS 11.0 or later and an iOS device with an A9 or later processor. Some ARKit features require later iOS versions or specific devices. ARKit also uses a device camera, so you need to configure iOS privacy controls so the user can permit camera access for your app.
How to handle device compatibility support depends on how your app uses ARKit:
If the basic functionality of your app requires AR (using the back camera): Add the
arkitkey in the UIRequiredDeviceCapabilities section of your app's
Infofile. Using this key makes your app available only to ARKit-compatible devices.
If augmented reality is a secondary feature of your app: Check for whether the current device supports the AR configuration you want to use by testing the
isproperty of the appropriate
If your app uses face-tracking AR: Face tracking requires the front-facing TrueDepth camera on iPhone X. Your app remains available on other devices, so you must test the
isproperty to determine face-tracking support on the current device.
Handle User Consent and Privacy
For your app to use ARKit, the user must explicitly grant your app permission for camera access. ARKit automatically asks the user for permission the first time your app runs an AR session.
iOS requires your app to provide a static message to be displayed when the system asks for camera or microphone permission. Your app's
Info file must include the NSCameraUsageDescription key. For that key, provide text that explains why your app needs camera access so that the user can feel confident granting permission to your app.
If your app uses