Is there a good way to check if an arbitrary iOS device supports ARKit? I've looked through UnityARSessionNativeInterface and couldn't see anything really obvious; for now, I'm using the following:
Check for ARKit support
Code (CSharp):
- try {
- ARKitSessionConfiguration s1 = new ARKitSessionConfiguration ();
- ARKitWorldTackingSessionConfiguration s2 = new ARKitWorldTackingSessionConfiguration ();
- if (s1.IsSupported || s2.IsSupported) {
- IsArKitSupported = true;
- } else { ...