QRCodeReader.swift
                                
                                
                                
                                    QRCodeReader.swift copied to clipboard
                            
                            
                            
                        Simple QRCode reader in Swift
Hi, I am trying to stop camera after validation code. Example - I am validation domain first after scan because end user may be scan other QR code. So if...
First of all, thanks for building this! This PR makes the framework app extension safe so that it can be integrated into apps with extensions.
``` Crashed: session queue 0 libobjc.A.dylib 0x1a4bdcd70 objc_msgSend + 16 1 Foundation 0x1a6468140 NSKeyValueWillChangeWithPerThreadPendingNotifications.llvm.10547614101533924569 + 580 2 AVFoundation 0x1abac5968 -[AVCaptureFigVideoDevice setVideoZoomFactor:] + 384 3 AVFoundation 0x1abae4a80 -[AVCaptureSession _updateDeviceActiveFormatsAndActiveConnections] + 2716...
I am getting this error after run pod install on my project Ambiguous use of 'default' in AVCaptureDevice.default(for: .video) and many other issues
``` public init(metadataObjectTypes types: [AVMetadataObject.ObjectType], captureDevicePosition: AVCaptureDevice.Position) { metadataObjectTypes = types previewLayer = AVCaptureVideoPreviewLayer(session: session) - CRASHED LINE super.init() sessionQueue.async { self.configureDefaultComponents(withCaptureDevicePosition: captureDevicePosition) } } ```
Hello and thanks for this project. I'm using `pod 'QRCodeReader.swift', '~> 8.2.0'` version of your pod. When trying to compile I get `Initializer for conditional binding must have Optional type,...
I wanted more feedback when a QR code is found. I added a system sound (a buzz) as well as highlight the bounds of the QR code. (I also added...
I do not have much experience in swift and I want to add a small text in the middle of the button to change the camera and the torch for...
Getting error in Swift 4.2: ``` QRCodeReader was compiled with optimization - stepping may behave oddly; variables may not be available. ``` @yannickl
when Enable Main Thread Checker i found that when create a QRCodeReaderViewController , it create readerView Not in Main thread in QRCodeReaderViewControllerBuilder ```swift lazy var readerVC: QRCodeReaderViewController = { let...