سؤال

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