Skip to content

A managed Demo project of QRCode scanner using AVFoundation

Notifications You must be signed in to change notification settings

dipkasyap/DGQRCodeScanner

Repository files navigation

DGQRCodeScanner

usage

  1. Clone or download the sample project.
  2. Drag and drop Scanner folder on your project.
  3. Implement Code as following
let scanner = DGQRCodeScanner.show()
 scanner?.onSuccess = { [weak self] result in
            self?.messageLabel.text = "Result from Scan is \n \(result)"
        }

Important

DO NOT forget to provide access messege on plist. just go to info.plist file , do right click -> open as -> source code and add following line below

    <key>NSCameraUsageDescription</key>
    <string>We need to access your camera for scanning QR code</string>
    

About

A managed Demo project of QRCode scanner using AVFoundation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages