appcoda / ReplayKitDemo

A simple demo for ReplayKit in iOS
25 stars 10 forks source link

Recording interrupted by multitasking and content resizing #4

Open triaji-vvknd opened 5 years ago

triaji-vvknd commented 5 years ago

Hi there,

I tried running your code on iPhone X with iOS 12 and keep getting this error which specifies "Recording interrupted by multitasking and content resizing". The full error are as follow:

Error Domain=com.apple.ReplayKit.RPRecordingErrorDomain Code=-5807 "Recording interrupted by multitasking and content resizing" UserInfo={NSLocalizedDescription=Recording interrupted by multitasking and content resizing})

Would you know what could be the issue with this please?

songjialin commented 5 years ago

I had same issue as well. not sure if this is a system issue.

RustamKhisamov commented 5 years ago

I have the same issue on my project. It happens after 5-8 recordings. Reboot device helps

krishnastvSMSC commented 5 years ago

I am also facing same issue, how to resolve it without reboot the device

RustamKhisamov commented 5 years ago

I am also facing same issue, how to resolve it without reboot the device

Be sure that you stop previously recording.

krishnastvSMSC commented 5 years ago

Before starting new recording, checking if isRecording variable. If any ongoing once, stoping that one and starting new one.

kunaltyagi26 commented 5 years ago

Even after calling the stopCapture method before starting capturing is not working. Please help.