Swiftpack.co - shvul/PrivateImage as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by shvul.
shvul/PrivateImage 1.0.0
DRM image view for UIKit and SwiftUI
⭐️ 11
🕓 2 weeks ago
iOS
.package(url: "https://github.com/shvul/PrivateImage.git", from: "1.0.0")

SecretImage

Image view with DRM protection for SwiftUI and UIKit.

What?

This view can't be captured via iOS screenshot feature or screen recording.

Usage

Create PrivateImageView for SwiftUI and UIPrivateImageView for UIKit and pass UIImage as input:

PrivateImageView(image: UIImage(named: "test-image"))

It will automatically prevent capture for this content image.

For more examples check out Example Project

Installation

Use SPM:

dependencies: [
    .package(url: "https://github.com/shvul/PrivateImage.git", .upToNextMajor(from: "1.0.0"))
]

GitHub

link
Stars: 11
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Initial Release
2 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics