Skip to content

DRM image view for UIKit and SwiftUI

License

Notifications You must be signed in to change notification settings

Feverup/PrivateImage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"))
]

About

DRM image view for UIKit and SwiftUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%