liufan321 / SwiftQRCode

Simple QRCode detector and generator in Swift
MIT License
505 stars 133 forks source link

增加了自定义的扫描范围,可以在调用scanCode这个功能函数之后,设置扫描的范围值. #2

Closed SarielTang closed 9 years ago

SarielTang commented 9 years ago

调用如下 scanner.scanCode(view) { (stringValue) in println(stringValue) } //设置扫描范围 //scanConnerView就是扫描框. scanner.scanFrame = scanConnerView.frame

liufan321 commented 9 years ago

已经合并,多谢多谢!