You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m developing a financial app and would like to create a “Hide sensitive information in screenshots” setting. The idea is that, if they’re submitting feedback about the app, they don’t have to redact info like their account balance. There’s no way to do this currently, since I’m only alerted to screenshots after the fact. It would make the most sense for this to be tied into the privacySensitive modifier.
Note to the reader of this GitHub issue
I didn’t share this with Apple, but you can currently do this with the undocumented disableUpdateMask property on a view’s CALayer. Which makes doing this in SwiftUI more of a pain, but it’s certainly possible: https://nsantoine.dev/posts/CALayerCaptureHiding/
The text was updated successfully, but these errors were encountered:
Description
I’m developing a financial app and would like to create a “Hide sensitive information in screenshots” setting. The idea is that, if they’re submitting feedback about the app, they don’t have to redact info like their account balance. There’s no way to do this currently, since I’m only alerted to screenshots after the fact. It would make the most sense for this to be tied into the privacySensitive modifier.
Note to the reader of this GitHub issue
I didn’t share this with Apple, but you can currently do this with the undocumented
disableUpdateMask
property on a view’s CALayer. Which makes doing this in SwiftUI more of a pain, but it’s certainly possible: https://nsantoine.dev/posts/CALayerCaptureHiding/The text was updated successfully, but these errors were encountered: