swiftScan
swiftScan copied to clipboard
A barcode and qr code scanner( 二维码 各种码识别,生成,界面效果)
扫描回调相关
@朋友,识别本地相册非二维码图片之后回调没响应,既没有报错也没有result,能否指点一二? @MxABC
1. 产品经理和UI设计可能会要求自定义扫码区域的边框,比如说四个角是圆角或者其他形状,这个时候需要支持设置背景图; 2.现在很多APP的扫码都支持光线暗的环境下自动打开手电筒,在LBXScanViewController里新增了一个方法可以监听环境光的变化。
仔细看的话,好像可以看到两条线(不确定是不是我的手机问题)
不能通过hidden属性来控制stop,应该用removeFromSuperview func stopStepAnimating() { isAnimationing = false self.removeFromSuperview() }
I did the test on my iPhone X iOS 14.7.1, the scanner screens is black, and i can't screen any QR code. Do you have this problem? Thank you. 
可以支持横竖屏吗
开发环境 swift4.2 这个问题有解决的方案吗
adjust focal
When I running on the simulator, the application is crashes because there is a video preview. so I added 'return' into code line if you run on simulator
oc 中有这样处理 if (text) _activityView.center = CGPointMake(centerPt.x - frame.size.width/2 - 24 , _labelReadying.center.y); else _activityView.center = CGPointMake(self.frame.size.width/2 , _labelReadying.center.y); swift 上能加上么