I'm using ReplayKit to record the screen during an ARKit scene (not sure if that makes a difference). If I start a recording and then stop it, sometimes the completion handler is not called for stopRecording. This means that I never get a previewController to show the user, so the recording is lost. I don't see any error messages and the didStopRecordingWith previewViewController function is not called either.
Anyone else getting this problem? Any suggestions on how to prevent it?