ReplayKit broadcasting only host app

I created a simple app that broadcasts using ReplayKit2 and using iOS 12. I tested it broadcasting live to YouTube and it works great, except it only broadcasts the screen of the app. When the app is in the background, the broadcast stops. When the app comes to the foreground again, the broadcast resumes, after prompting to resume again. Is there anyway to broadcast the entire iPhone screen no matter what app is in the foreground? Similar to AirPlay? I know the "screen recorder" feature does record everything but I'd assume the broadcast feaure would too.


I don't see any documentation explicitly stating these differences.

Replies

I figured it out. I have to start the screen recording from the "Screen Recording" control in Control Center. To choose my Broadcast Upload Extension, I must press and hold the "Screen Recording" button until a list of Broadcast Extensions appear.