ScreenCapture while background

I am trying to record the screen even when the app is in background, for the moment the user uses the 'screen recorder' and after they uploaded, but i want to do the recording automatically. I've tried with swift, replaykit -> startrecording, but it does not record the screen when it's in background, does the function replaykit -> startCapture, do this feature? How does it work?


Thanks a lot!

Post not yet marked as solved Up vote post of darkfree13 Down vote post of darkfree13
2.1k views

Replies

> i want to do the recording automatically.


Your app can't spy on the user like that in the background. That's a good thing.