Recording interrupted by multitasking and content resizing
Asked Answered
W

4

12

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.

Wickedness answered 28/9, 2018 at 18:23 Comment(6)
Same issue happening with my iphone 6 and 6 plus, other seem to work fineTalie
Had the same issue and it did work after restarting the device. But the whole replaykit is very fragile and buggy.Revolute
@MaciejS , it will come again after sometimes of restart, if you use the replay kit oftenTalie
Same prob here on an iPhoneXEnsemble
I had to delete the app and then shut the phone down for 30 minutes then this problem went away. I'm sure it will be back though, no doubt.Ensemble
I've deleted the app and re-install again but still facing this issue. :'(Birck
P
1

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

Prostyle answered 14/10, 2018 at 18:46 Comment(5)
Can you please share with us their reasoning when they rejected?Talie
@TalhaAhmadKhan They thought that this error message was related to Network because it was easily reproducible in wifi condition. So they asked me to check the network handling. Removing the animation during recording can reduce the frequency of this bug but it can still happen inconsistently.Prostyle
I've done a lot of research on the errors and posted the solution here: #51440749 For now my screen recording feature is bug free. But who knows what comes with the new OS updatesTalie
@TalhaAhmadKhan I agree with you that it might be related to UI prompt because on my side it used to happen when the permission alert ("Allow screen recording in appName") was supposed to be displayed. Unfortunately there is no way to delay the alert display.Prostyle
I was also facing same issue and I found a strange solution for this. After permission alert and I restarted device and this error do not come again.Maxa
U
1

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

Upanddown answered 18/1, 2019 at 5:10 Comment(1)
I have tried this steps. Didnt work for me. In Addition to this two steps I restarted xCode and reboot device. This work for me.Supra
T
0

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

Talie answered 16/10, 2018 at 6:1 Comment(0)
E
0

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.

Exaggerative answered 24/9, 2019 at 12:13 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.