Skip to main content

request_screen_recording_permission

Function request_screen_recording_permission 

Source
pub async fn request_screen_recording_permission()
Expand description

Async helper: trigger Screen Recording TCC before opening Settings. After tccutil reset ScreenCapture, this call is what makes macOS recreate the app row in the Screen & System Audio Recording list.