Expo UI and Router for iOSExpo SDK 57 and later, iOS only
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')).

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

Works only in some places

Has an effect only when a parent view uses redacted with the privacy reason.

You can add it to any of these components, but it does something only in the place above.

Sources

The original Expo docs for this page:

On this page