Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

A barcode and qr code scanner( 二维码 各种码识别,生成,界面效果)

License

Notifications You must be signed in to change notification settings

Multinerd-Forks/swiftScan

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iOS 二维码、条形码 Swift 版本 Swift 2.2, Swift 2.3, Swift 3.0

###objective-c Version 对应的Objective-c版本: LBXScan

xcode

测试程序 xcode版本号:Xcode7.1 、Xcode 8

介绍

swift封装系统自带扫码及识别图片功能

  • 扫码界面效果封装
  • 二维码和条形码识别及生成
  • 相册获取图片后识别

模仿其他app

  • 模仿QQ扫码界面
  • 支付宝扫码框效果
  • 微信扫码框效果

其他设置参数自定义效果

  • 扫码框周围区域背景色可设置
  • 扫码框颜色可也设置
  • 扫码框4个角的颜色可设置、大小可设置
  • 可设置只识别扫码框内的图像区域
  • 可设置扫码成功后,获取当前图片
  • 根据扫码结果,截取码的部分图像(在模仿qq扫码界面,扫码成功后可看到)
  • 动画效果选择: 线条上下移动、网格形式移动、中间线条不移动(一般扫码条形码的效果).

CocoaPods安装

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'swiftScan'

Swift 2.3

 pod 'swiftScan', :git => 'https://github.com/CNKCQ/swiftScan.git'

Swift 3.0

 pod 'swiftScan', :git => 'https://github.com/CNKCQ/swiftScan.git', :branch => 'Swift3.0'

手动安装

下载后将Source文件夹copy到工程即可

版本

v1.0.8

修改适应cocoapods安装后,编译报错bug

界面效果

(加载速度慢,可刷新网页)

image image image image image image image image image image image

About

A barcode and qr code scanner( 二维码 各种码识别,生成,界面效果)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 99.5%
  • Ruby 0.5%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.