Red audio recording status bar “flashes” while app in *foreground*
问题 There are many questions (here, here) regarding the double height red audio recording status bar, but all of them reference flashes when the app resigns into the background. I'm getting a flash, I'm assuming from an AVCaptureSession setup, while the app is in foreground. Has anyone experienced this before? 回答1: You have to remove the audio input from the AVCaptureSession [self.captureSession removeInput:audioIn]; in which the audioIn is the AVCaptureDeviceInput object, that is initialised in