I have tried Broadcast Extension. I have added that extension via target. But, I don't know how to record when my app is in background.
Two ways I am trying to record:
Via Control center: I can see my app’s target name, after selecting that name, then I start to record by clicking Start Broadcast
, next by clicking Stop Record
, but my video not getting stored either in Camera Roll or in my app. Ref Link
: ReplayKit's RPSystemBroadcastPickerView not showing preferredExtension
Via my app: Once press Start button, recording get started, I am trying to record background from my app by clicking home button, obviously recording has been stopped. Ref Link
: https://medium.com/@giridharvc7/replaykit-screen-recording-8ee9a61dd762.