I have implemented ZXing to my iOS-app, however I am questioning it's maintainability as not long ago it was announced that ZXing to iOS is retiring:
Retiring C++, Objective C code
I've also read that there might be compatibility issues with the newer phones iPhone 5S..
Also running Xcode's static code analysis on the Zxing-library reveals memory errors, I'm not sure if these errors are false positive or not, but they make me doubt Zxing even more. Further, the performance of Zxing compared to other barcode scanners feels subpar.
So my question is, what is the best alternative? I hear a lot of good stuff about Zbar, however I'm not sure how updated it is either.
iOS 7 SDK now includes a QR code reader, AVCaptureMetaDataOutput
. You can read about it at
iOS 7 NSHipster.
The latest and updated zXing for iOS 6 and later is available here... https://github.com/TheLevelUp/ZXingObjC It's not going to retire... :)
try zbar sdk, it's compatible with ios 7 sdk
http://zbar.sourceforge.net/iphone/sdkdoc/index.html
or
http://www.scandit.com/barcode-scanner-sdk/features/platforms/
You can try PDF417.mobi. It is commercial but can be used for free for educational and non-commercial purposes.
PS. I'm working for the team that developed PDF417.mobi SDK.
来源:https://stackoverflow.com/questions/20144071/with-zxing-retiring-for-ios-which-barcode-scanner-to-switch-to