- 👋 Hi, I’m @MxABC
- 👀 I’m interested in C++,iOS
mxabc / swiftscan Goto Github PK
View Code? Open in Web Editor NEWA barcode and qr code scanner( 二维码 各种码识别,生成,界面效果)
License: MIT License
A barcode and qr code scanner( 二维码 各种码识别,生成,界面效果)
License: MIT License
请问一下,适配swift2.3的是哪一个版本,现在用不了!
效果非常好,感谢分享
有个小建议:
目前的模块貌似没有将扫描结果返回给Caller,只是Alert显示出来了。
这样,大家用的时候就得各自去实现callback,使用cocoapads更新后还需要在更改代码,感觉不太好。
通过pod安装后,
新建UIViewcontroller:LBXScanViewController
之前实例代码中访问isOpenInterestRectn属性时提示has no member 'isOpenInterestRect'
Xcode 9, Swift 4.0
2017-11-08 14:53:53.019761+0800 swiftScan[997:851066] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.
Stack:(
0 Foundation 0x000000018766e66c + 96
1 Foundation 0x000000018766e350 + 76
2 Foundation 0x000000018749eda0 + 132
3 Foundation 0x000000018766c458 + 112
4 UIKit 0x000000018ff9e5c0 + 1976
5 QuartzCore 0x000000018ab57ec8 + 184
6 QuartzCore 0x000000018ab5bfa8 + 332
7 QuartzCore 0x000000018aacaa98 + 336
8 QuartzCore 0x000000018aaf0eb4 + 540
9 QuartzCore 0x000000018aaf159c + 244
10 libsystem_pthread.dylib 0x0000000186793680 + 572
11 libsystem_pthread.dylib 0x00000001867933d0 + 88
12 libsystem_pthread.dylib 0x0000000186793168 _pthread_wqthread + 1340
13 libsystem_pthread.dylib 0x0000000186792c20 start_wqthread + 4
)
as title
简单示例下也好啊, 不至于看源码找接口啊
Hi!
Can you give the possibility to change this label, please ?
qRScanView?.deviceStartReadying(readyStr: "相机启动中...")
For internationalization..
Thanks!
when pushed LBXScanViewController,pop very slowly
cocoapods下载不到1.0.9版本 显示还是swift2.3版本
protocol LBXScanViewControllerDelegate
以及scanResultDelegate属性,访问级别不够,建议改成public
var scanResultDelegate: LBXScanViewControllerDelegate?
你的 arrayCodeType 和 isNeedCodeImage 这两个属性都是默认级别,你前面的都加了open为何这两个不加,我想让它支持扫条形码都不行,建议修改成open
修改了LBXScanViewController中的扫码类型为AVMetadataObjectTypeFace 发现IOS10上无法识别人脸了 之前在IOS9下可以成功识别 请问应如何修改 可以支持到IOS10?
automatic install 1.08, swift3 cant use,but if I manual type 1.09, cocoapods cant recognize and install it, thats so weird.
static public func instance()->LBXScanLineAnimation
{
return LBXScanLineAnimation()
}
Cannot invoke initializer for type 'LBXScanLineAnimation' with no arguments
LBXPermissions.isGetCameraPermission()
LBXPermissions.isGetPhotoPermission()
这两个编译报错,这个类都找不到,是缺少文件或者缺少声明吧
一维码扫描出来前面多个0的问题
Readme中没有样例代码
你可以看看是什么问题吗
Hi, lovely package, but I can't figure it out because of the Mandarin. Even the comments in the code aren't readable for less smarter humans.
不支持swift4?
想要在方框下面添加一个灯的按钮,需要用到scanRetangleRect,但是外部不能访问,建议开放权限,用public修饰
一维码 识别缓慢的问题
2016-09-21 11:17:14.581009 swiftScan[286:18283] [access] This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
Hy ,
its possible too disable sound effect after get result ?
我创建了一个 scanViewController.swift 文件 里面 继承了 LXBScanViewController 然后我再 在storyboard 的viewController里的class 填 了我创建的 scanViewController , 运行 一片漆黑,这里是哪里有问题
swiftScan 1.1.2 并没有推送到 cocoapods 上.
cocoapods 还是1.1.1 的版本
只能手动导入
我是在ipad上做的测试,所以就顺便看了这个。
只要在编译的时候允许旋转,很容易复现这个问题。
开发环境 swift4.2 这个问题有解决的方案吗
就好了
2017-05-05 10:41:24.370836+0800 swiftScan[1707:46058] [Generic] Creating an image format with an unknown type is an error
` let qrImage = colorFilter!.outputImage;
//绘制
let cgImage = CIContext().createCGImage(qrImage!, fromRect: qrImage!.extent)
UIGraphicsBeginImageContext(size);
let context = UIGraphicsGetCurrentContext();
CGContextSetInterpolationQuality(context!, CGInterpolationQuality.None);
`
cgImage为nil,运行报错
Could you please update your codebase to swift 3? Xcode 8 can't even compile right now.
'AVCaptureStillImageOutput' was deprecated in iOS 10.0: Use AVCapturePhotoOutput instead
跪求整理下代码格式,两行代码之间有时候一行间隙,有时候两行间隙,看着好别扭呀~
按照demo项目加入LBXScanViewControllerDelegate 后,仍然无法识别LBXPermissions
相机权限关闭之后,进去扫码时造成崩溃
cash code input = try AVCaptureDeviceInput(device: device!)
, code location: swiftscan/LBXScanWrapper.swift line 70
would you please update this repo to supportede Swift4 & Xcode9
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.