Screen Capture Blocking

Screen Capture Blocking prevents screenshots (Power + Volume) and screen recordings from capturing any content in your application. When enabled, the entire app renders as a black area in captured media.

To protect only specific sensitive views instead of the entire app, see Secure View.

Configuration

let raspConfig = AppProtectionRaspConfig(
    screenCaptureBlocking: .enabled
    // configuration of other RASP features
)
Value Description
.disabled Default. No automatic protection. You can still use .makeSecure() on individual views.
.enabled AppProtectionService automatically hides all application content from screenshots and screen recordings.

Limitations

See Secure View — Limitations for notes on Simulator behavior, CarPlay/external display, and WebKit/Metal layers.

Last updated on Aug 12, 2026 (09:36) View product

3.4.x

Malwarelytics for Apple