Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MxABC committed Dec 15, 2015
1 parent 3dc4534 commit eae497c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions Source/LBXScanWrapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,14 @@ class LBXScanWrapper: NSObject,AVCaptureMetadataOutputObjectsDelegate {
}


successBlock = success

// Output
output = AVCaptureMetadataOutput()

isNeedCaptureImage = isCaptureImg

stillImageOutput = AVCaptureStillImageOutput();

super.init()

Expand All @@ -86,14 +92,6 @@ class LBXScanWrapper: NSObject,AVCaptureMetadataOutputObjectsDelegate {
return
}

// Output
output = AVCaptureMetadataOutput()

stillImageOutput = AVCaptureStillImageOutput();

isNeedCaptureImage = isCaptureImg

successBlock = success

if session.canAddInput(input)
{
Expand Down
2 changes: 1 addition & 1 deletion swiftScan.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'swiftScan'
s.version = '1.0.6'
s.version = '1.0.7'
s.summary = 'ios swift scan wrapper'
s.homepage = 'https://github.com/MxABC/swiftScan'
s.license = 'MIT'
Expand Down

0 comments on commit eae497c

Please sign in to comment.