Possible Duplicate:
Is there a barcode recognition framework for iOS?

Which is the best free sdk or library for iOS barcode reader? i am currently implementing an app for my company and we want to support barcode and QR code scan, can someone please suggest me the best sdk that works on iOS4,5 ?

没有正确的解决方案

其他提示

I would suggest you, have a look on below some good API for bar code scanning

Update on May-2019

Here is the code snip if you use ZBar API

ZBarReaderController *reader = [ZBarReaderController new];
reader.readerDelegate = self;

    //... code to get image

CGImageRef imgCG = image.CGImage;


id<NSFastEnumeration> results = [reader scanImage:imgCG];
ZBarSymbol *symbol = nil;

for(symbol in results)
    // EXAMPLE: just grab the first barcode
    break;
resultText.text = symbol.data;

Also Make sure PL don't forget to use weak link for AVFoundation, CoreVideo and CoreMedia framework

The ZBAR iPhone sdk is very much effective for reading bar codes and qrcodes. You can find the sdk files and how to use the sdk tutorials in here

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top