AR only on certain devices?

Hello everyone, i am a high school student that is currently developing my first app for competition (simillar to hackatons). I have a requirement that i need to build an app that works on iOS 8, iPhone 5s and later. Bassicaly, the thing i wanted to ask before starting, i want to include AR in my app but it isn't the main part of the app, so is it possible for AR to work on 6s and later, while 5s and 6 users can use the rest of the app without AR, or should something like separate app be made for 5s and 6. Thanks in advance

Replies

From the docs:


"Overview

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"


Device support is listed here - see Table 1, as an example:

https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/DeviceCompatibilityMatrix.html


How to set here: https://stackoverflow.com/questions/46569624/xcode-how-do-i-set-compatible-devices-to-only-arkit-compatible-devices


If you want an app that supports ARKit, but you want some parts of the app to still work on other devices, you can try using device idioms to check which device is being used, then code accordingly - see:

- https://developer.apple.com/documentation/uikit/1620016-ui_user_interface_idiom

- https://stackoverflow.com/questions/24059327/detect-current-device-with-ui-user-interface-idiom-in-swift


When getting started w/ARKit, see https://developer.apple.com/arkit/