Expo UI and Router for iOS
Modifiers

privacySensitive

Marks the view as containing sensitive, private data, redacted only when the privacy redaction reason is applied to an ancestor (for example redacted('privacy')). It has no effect on its own and does not auto-redact screenshots. Maps to SwiftUI's privacySensitive(_:).

privacySensitive(sensitive)

ParameterTypeDescription
sensitive(optional)booleanWhether the view contains sensitive content. Defaults to true. Default: true

Marks the view as containing sensitive, private data, redacted only when the privacy redaction reason is applied to an ancestor (for example redacted('privacy')). It has no effect on its own and does not auto-redact screenshots. Maps to SwiftUI's privacySensitive(_:).

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

This modifier works with any view. These components accept it:

Sources

The original Expo docs for this page:

On this page