Skip to content

RanduSoft/RSQRScannerViewController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RSQRScannerViewController

Setup

  • In your Info.plist add the key NSCameraUsageDescription with value We are using the camera to scan QR codes (or anything you see fit)

Usage

Wherever you want to scan a QR code, just call

let qrScanner = RSQRScannerViewController()
qrScanner.scanResult = { result in
    print(result)
}
qrScanner.failedInit = {
    print("Failed to init capture device")
}
self.present(qrScanner, animated: true)

License

RSQRScannerViewController is available under the MPL-2.0 license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages