Wesley de Groot welcomes support for PreventScreenshot through GitHub Sponsors. If you find this package useful, please consider supporting it.
When working with an Xcode project:
When working with a Swift Package Manager manifest:
Select a package version:
0.0.1
main
This package adds a modifier to your SwiftUI elements to prevent screenshots. This is useful for apps that display sensitive information and want to prevent users from taking screenshots.