The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

PreventScreenshot

0xWDG/PreventScreenshot

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.

Wesley de Groot welcomes support for PreventScreenshot through GitHub Sponsors. If you find this package useful, please consider supporting it.


Compatibility

Full Build Results