A try to start a screen recording with RPScreenRecorder. I got the following error:
Recording interrupted by multitasking and content resizing
func startRecording() {
    let recorder = RPScreenRecorder.shared()
    recorder.startRecording(handler: { (error) in
        if let unwrappedError = error {
            print(unwrappedError.localizedDescription)
        } else {
        }
    })
}
Before iOS 12.0 everything worked fine. From the update I get the error above.