Skip to content

mboeddeker/NoCapture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NoCapture

Simple Screenrecordingdetector in Swift. Enjoy it.

Usage

It's really simple to use.

import NoCapture

class ViewController: UIViewController, NoCaptureDelegate {

let captureDetector = NoCapture.instance

override func viewDidLoad() {
super.viewDidLoad()
captureDetector.delegate = self
captureDetector.startDetection()
}

// DELGATE METHOD
func screenCaptureStatusChanged(isRecording: Bool) {
if isRecording {
self.view.backgroundColor = UIColor.red
} else {
self.view.backgroundColor = UIColor.white
}
}

}

Installation

NoCapture is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'NoCapture'

Author

Marvin Knabe, info@appgewaltig.de

License

NoCapture is available under the MIT license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors