Sanitize View Data

Redact individual views or disable capture altogether

Redacting a view prevents that portion of the application view from being recorded

Redact individual views

To redact a view, assign that view an accessibility identifier, either through the storyboard or manually by setting View.accessibilityIdentifier. Next, add that accessibility identifier to the redactionTags SDK configuration option. The view will be hidden during the capture process so that it does not show up in the final recording.

Redacts views with accessibility identifiers that match these tags

redactionTags: Set<String> = []

Disable automatic view capture entirely

By default, the SDK will capture views automatically. To block recording of all views, set this option to false.

Enable (default) or disable automatic view capture

viewScanningEnabled: Bool = true