ARKit Unable to run the session, configuration is not supported on this device

后端 未结 1 1323
南笙
南笙 2020-12-17 17:35

Using ARWorldTrackingSessionConfiguration get and error on iPhone 6 plus Unable to run the session, configuration is not supported on this device

What

相关标签:
1条回答
  • 2020-12-17 18:21

    Here is Apple's document for ARKit and device support

    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 isSupported property to determine whether the current device supports the session configuration you want to use.

    You can check ARKit support programatically at runtime using 'isSupported` property of ARConfiguration.

    ARConfiguration.isSupported

    if (ARConfiguration.isSupported) {
        // ARKit is supported. You can work with ARKit
    } else {
        // ARKit is not supported. You cannot work with ARKit
    }
    

    Following iOS devices (with iOS 11 installed) are supporting ARKit:

    • iPhone X
    • iPhone 8 and 8 Plus
    • iPhone 6S and 6S Plus
    • iPhone 7 and 7 Plus
    • iPhone SE
    • iPad Pro (9.7, 10.5 or 12.9)
    • iPad (2017, 2018)

    Here are some reference links related to ARKit Support & iOS device configurations:

    ARKit runs on the Apple A9 and A10 & A11 Bionic chip processors.
    iPhone Models - (Chip)
    iPad Models - (Chip)

    0 讨论(0)
提交回复
热议问题