Redacting a view prevents that portion of the application view from being recorded
To redact individual views in SwiftUI, see our SwiftUI Documentation.
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.
redactionTags: Set<String> =  SDK.initialize(configuration: Configuration( ... redactionTags: redactionTags ))
Individual subviews of a redacted view can be allowed for view capture, also by assigning their accessibility identifiers. Add these values to the allowTags SDK configuration option.
allowTags: Set<String> =  SDK.initialize(configuration: Configuration( ... allowTags: allowTags ))
By default, the SDK will capture views automatically. To block recording of all views, set this option to false.
SDK.initialize(configuration: Configuration( ... viewScanningEnabled: true ))