[英]Barcode SDK to support 1D, QR code, data matrix etc. for iPhone
I need a bar code engine to support above 3 bar code types (1D, QR code, data matrix) for iPhone. 我需要一个条形码引擎来支持iPhone的3种以上条形码类型(1D,QR码,数据矩阵)。 I tried zxing, zbar which in my case doesnt support data matrix.
我试过zxing,zbar在我的情况下不支持数据矩阵。 I found some commercial versions also.
我也发现了一些商业版本。
But I am looking for a free SDK. 但我正在寻找一个免费的SDK。
This question is very old, but I'd like to answer it anyway for completeness. 这个问题很老了,但我还是想回答它的完整性。 I would recommend zxing , as it supports all the codes mentioned in the question.
我建议zxing ,因为它支持问题中提到的所有代码。
However, since iOS7 there is also the option of using the built-in scanner API (which I have found quicker and more accurate than zxing after a couple of hours testing). 但是,由于iOS7还可以选择使用内置的扫描仪API (经过几个小时的测试,我发现它比zxing更快更准确)。 I also found the Cocoa APIs slightly easier to integrate with a custom UI.
我还发现Cocoa API稍微容易与自定义UI集成。 The downside is that (to my knowledge) Data Matrix is not supported.
缺点是(据我所知)不支持Data Matrix。
A third option would be to use a clever combination of both, maybe also to fall back gracefully for pre-iOS7 devices. 第三种选择是使用两者的巧妙组合,也可以优雅地退回到iOS7之前的设备。
There is no free SDK for1D, QR code, data matrix for Iphone. 没有免费的SDK for oneD,QR码,Iphone的数据矩阵。 zbar is not supporting , ive tried zxing its working ,but allot of background work have to be done with zxing sdk.
zbar不支持,我试过zxing它的工作,但分配背景工作必须用zxing sdk完成。
As of iOS 8, Data Matrix is supported in AVFoundation. 从iOS 8开始,AVFoundation支持Data Matrix。 see:
看到:
https://developer.apple.com/library/prerelease/ios/documentation/AVFoundation/Reference/AVMetadataMachineReadableCodeObject_Class/index.html#//apple_ref/doc/constant_group/Machine_Readable_Object_Types https://developer.apple.com/library/prerelease/ios/documentation/AVFoundation/Reference/AVMetadataMachineReadableCodeObject_Class/index.html#//apple_ref/doc/constant_group/Machine_Readable_Object_Types
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.