Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@IBAction func captureImageWithQRCode(_ sender: UIButton) {
let solutionLogger = SolutionLogger(viewController: self)
solutionLogger.scanQRCodeAndCaptureImage { (qrCode: String, image: UIImage) in
// use qrCode and image
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.