Use .privacySensitive() To Redact Text
Daily Coding Tip 210
When you first use the .privacySensitive() modifier, you might be confused by the fact that it doesn’t seem to do anything. This is because it relies upon an environment variable called redactionReasons. These reasons are passed down from anywhere where the .redacted(reason: .privacy) modifier is used. I am providing …


