使用ARKit的ARSCNView时,可以使用iPhone的前置摄像头吗?

When I use ARKit's ARSCNView, can I use the iPhone's front camera?

目前正在学习ARKit
网上一般都有使用ARSCNView和iPhone的后置摄像头的示例代码。
我想将 ARKit 与前置摄像头一起使用,而不是 iPhone 的后置摄像头。
我使用ARKit时,可以使用ARSCNView和iPhone的前置摄像头吗?
ARKit 是否同时支持 iPhone 的前置摄像头和后置摄像头?
另外,如果你有使用 ARKit、ARSCNView 和 iPhone 的前置摄像头的示例代码,你能告诉我吗?

好吧,它确实存在,它仍然有点受限,因为唯一能够 运行 的设备是那些具有 TrueDepth 前置摄像头的设备,到目前为止只有 iPhone X。

Apple 提供的示例代码可以在此处找到:https://developer.apple.com/documentation/arkit/creating_face_based_ar_experiences

这里是对设备支持的相机列表的引用:https://developer.apple.com/library/content/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/Cameras/Cameras.html#//apple_ref/doc/uid/TP40013599-CH107-SW1