AVCaptureMovieFileOutput never calls delegate on screen recording
问题 I was able to assemble a minimal Swift demo of screen recording for debugging another thing but something struct me - AVFoundation never calls my delegate for recording. None of them in fact. The code is pretty straight forward: class ExampleRecorder: NSObject, AVCaptureFileOutputRecordingDelegate { private var session: AVCaptureSession?; private var fileOut: AVCaptureMovieFileOutput?; func fileOutput(_ output: AVCaptureFileOutput, didFinishRecordingTo outputFileURL: URL, from connections: