Add aztec code types into 1.0.1 version

This commit is contained in:
Victor Shabanov 2019-10-23 16:21:10 +03:00
parent a4eda21812
commit d3eeb75509
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'QRCodeReader'
s.version = '1.0.0'
s.version = '1.0.1'
s.summary = 'iOS framework contain core view elements and logic component for work with QR codes.'
s.homepage = 'https://github.com/TouchInstinct/QRCodeReader-ios'

View File

@ -145,7 +145,7 @@ open class QRCodeReader: NSObject, AVCaptureMetadataOutputObjectsDelegate {
session.addOutput(metadataOutput)
metadataOutput.setMetadataObjectsDelegate(self, queue: metadataObjectsQueue)
metadataOutput.metadataObjectTypes = [.qr]
metadataOutput.metadataObjectTypes = [.qr, .aztec]
previewLayer.videoGravity = .resizeAspectFill
session.commitConfiguration()