ARKit无法运行会话,此设备不支持配置 [英] ARKit Unable to run the session, configuration is not supported on this device

查看:482
本文介绍了ARKit无法运行会话,此设备不支持配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在iPhone 6 plus上使用ARWorldTrackingSessionConfiguration get和error Unable to run the session, configuration is not supported on this device

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

那会是什么?

推荐答案

以下是Apple的 ARKit和设备支持文档

ARKit需要具有A9或更高处理器的iOS设备.使 您的应用仅在支持ARKit的设备上可用,请使用arkit密钥 在应用程序的Info.plist的UIRequiredDeviceCapabilities部分中. 如果增强现实是应用程序的次要功能,请使用 isSupported属性,以确定当前设备是否支持 您要使用的会话配置.

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.

您可以在运行时使用ARConfiguration的'isSupported`属性以编程方式检查ARKit支持.

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
}

以下iOS设备(已安装iOS 11)支持ARKit:

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

  • iPhone X
  • iPhone 8和8 Plus
  • iPhone 6S和6S Plus
  • iPhone 7和7 Plus
  • iPhone SE
  • iPad Pro(9.7、10.5或12.9)
  • iPad(2017,2018)

以下是与ARKit支持和服务相关的一些参考链接; iOS设备配置:

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

ARKit在Apple A9和A10 & A11仿生芯片处理器.
iPhone型号-(芯片)
iPad型号-(芯片)

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

这篇关于ARKit无法运行会话,此设备不支持配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆