A barcode and qr code scanner( 二维码 各种码识别,生成,界面效果)
Clone or download
MxABC Merge pull request #67 from dvt282/Fix_Build_Error-Xcode_10-swift4.2
Fix build error xcode 10 with swift 4.2
Latest commit b6c5b1c Oct 11, 2018
Failed to load latest commit information.
ScreenShots add screenshots Dec 14, 2015
Source fix build error Oct 10, 2018
SwiftScanner Support Carthage Sep 16, 2017
swiftScan.xcodeproj fix build error Oct 10, 2018
swiftScan Merge branch 'master' into swift4.2 Sep 21, 2018
.gitignore Initial commit Dec 9, 2015
.swift-version update Nov 6, 2017
LICENSE Initial commit Dec 9, 2015
README-Chinese.md Update version tip Oct 21, 2017
README.md update Dec 24, 2017
swiftScan.podspec update Sep 4, 2018


iOS qrCode、barCode Swift Version

Platform Language License

Objective-c Version: LBXScan



Swift: The packaging system API comes with scan code and image recognition function

  • scan code interface
  • QR code and bar code recognition and generation
  • image recognition from the Album (Test results are not good)

Imitate other app

1、 QQ scan code interface 2、Alipay scan code interface 3、Wechat scan code interface

Other settings parameters custom effects

  • The background color can be set around the scan frame
  • Scan code frame color can also be set
  • Scan code box 4 corners of the color can be set, the size can be set
  • Can only be set to identify the scan code box in the image area
  • Scan code can be set to get the current picture
  • According to the results of the scan code, can intercept part of the image
  • Animation options: Line up and down、Grid form movement、Middle line not moving(use for bar code scanning commonly)

Installation with CocoaPods

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
pod 'swiftScan', '~> 1.1.2'


download and copy the Source folder to your project

View effect

image image image image image image image image image image image