Start QR scanning when camera ready

This commit is contained in:
Andy Uhnak
2023-04-03 16:15:38 +01:00
parent 8caad979d7
commit 4a899e2866
2 changed files with 2 additions and 1 deletions

View File

@@ -196,7 +196,7 @@ final class QRCodeReaderView: UIView {
extension QRCodeReaderView: ZXCaptureDelegate {
func captureCameraIsReady(_ capture: ZXCapture!) {
isScanning = true
startScanning()
}
func captureResult(_ capture: ZXCapture!, result: ZXResult!) {

View File

@@ -0,0 +1 @@
QR verification: Start scanning as soon as camera ready