Recording interrupted by multitasking and content resizing

3.3k views Asked by At

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.

4

There are 4 answers

1
Ahmed On

I had a similar problem and here is how I solved it. go to project then targets then capability switch on Background mode then enable audio and VOIP. It should work

5
user9837656 On

My app has been rejected from App store for the same reason. So far the only workaround is to reboot the device.

0
Talha Ahmad Khan On

I've done a lot of research on the errors and posted the solution Here.

For now my screen recording feature is bug free. But who knows what comes with the new OS updates

0
gibson On

We've been rejected same issue several times.

But we found a senario to re-produce as bellow, We reported it on Resolution Center in App Store Connect, then passed.

  1. connect iOS(12.4) device to host launched XCode 10.3 (regardless of opened related project)
  2. cold boot iOS device.
  3. launch app and start recording video ASAP(until 30sec after booted)

Now iOS13, we don't face this error at the above senario.