Add aztec code types into 1.0.1 version
This commit is contained in:
parent
a4eda21812
commit
d3eeb75509
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue