Fix QR code scanning

pull/79/head
Niels Andriesse 5 years ago
parent 7882b8608c
commit bea6eb982f

@ -104,7 +104,7 @@ NS_ASSUME_NONNULL_BEGIN
if (!self.capture) {
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
self.capture = [[ZXCapture alloc] init];
self.capture.invert = YES;
// self.capture.invert = YES;
self.capture.camera = self.capture.back;
self.capture.focusMode = AVCaptureFocusModeContinuousAutoFocus;
self.capture.delegate = self;

Loading…
Cancel
Save