I've tried with ReplayKit and the following function.
let recorder = RPScreenRecorder.shared()
recorder.startCapture(handler: { ... })
But I think that this is not the right way, because I can see only my View in the buffer.
I don't know what is the right method to do the Passthrough in screen capture because I can't find any documentation except com.apple.developer.screen-capture.include-passthrough entitlement.
Topic:
Spatial Computing
SubTopic:
ARKit
Tags: