Our app uses QLPreviewController for previewing files. We've recently discovered that previewing AR (reality) files bypasses accessing the device’s camera without the app first requesting if it can use the device’s camera.
Accepted Reply
QLPreviewController renders the 3d model (.reality or .usdz) files on top of the camera stream outside of your process, and so your app does not have any access to the camera stream.
There is no camera permission prompt in this scenario because your app does not have access to the camera stream.
This is similar to how the PHPickerViewController runs "out-of-process", and so apps that use it do not need to request photo library access from the user.
-
Thank you for the quick response.
Replies
QLPreviewController renders the 3d model (.reality or .usdz) files on top of the camera stream outside of your process, and so your app does not have any access to the camera stream.
There is no camera permission prompt in this scenario because your app does not have access to the camera stream.
This is similar to how the PHPickerViewController runs "out-of-process", and so apps that use it do not need to request photo library access from the user.
-
Thank you for the quick response.