SwiftUI can also hide a specific view from screenshots directly without wrapping...

@KyleYe@mastodon.world

SwiftUI can also hide a specific view from screenshots directly without wrapping it in a secure UITextField.

The trick is to reuse privacySensitive(false), inject SwiftUI's private redaction reason.

Check the detail here
kyleye.top/posts/swiftui-hidde