Programmatic / Background Trigger for ReplayKit Broadcast (Without User Intervention)

Hi everyone,

I am working on an iOS application that utilizes a Broadcast Upload Extension (ReplayKit) to perform local, on-device screen analysis.

Currently, we are using RPSystemBroadcastPickerView to allow the user to initiate the broadcast session. However, for our specific tracking use case, requiring the user to manually tap the "Start Broadcast" button every time creates a significant friction point in the user experience.

My questions are:

Is there any private API, entitlement, or MDM (Mobile Device Management) configuration that allows an app to programmatically start a ReplayKit screen recording session completely in the background without explicit human intervention (e.g., without tapping a button in the UI)? If this is strictly prohibited for consumer apps on the App Store due to privacy guidelines, are there any exceptions or enterprise-level profiles available for supervised devices that bypass the mandatory RPSystemBroadcastPickerView user interaction? My understanding is that Apple enforces this manual trigger and the red status bar indicator for strict security and privacy reasons, but I am looking for an official confirmation on whether any programmatic workaround exists for this in modern iOS versions (iOS 15+).

Thank you in advance for your time and clarification!

Is there any private API, entitlement, or MDM … configuration that allows an app to programmatically start a ReplayKit screen recording session completely in the background without explicit human intervention … ?

No.

First up, private APIs aren’t really a thing. There are simply APIs, as declared in the SDK, and implementation details.

Second, API behaviour can be gated by entitlements, and some entitlements are managed, where their use must by approved by Apple. These entitlements, and the mechanism to apply for them, are still publicly documented though, and there’s no such entitlement for unrestricted screen recording.

Finally, there’s MDM. There are some scenarios where MDM allows apps to do stuff that would otherwise be blocked, especially on supervised devices, but AFAIK there’s nothing to control screen recording on iOS. Notably:

ps For those following at home, see this thread for more context to this issue, and a general warning about ReplayKit.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Programmatic / Background Trigger for ReplayKit Broadcast (Without User Intervention)
 
 
Q