2

I would like to integrate a qr code scanner in my iOS application that can scan more than two qr codes from a picture.Is there any good scanner available?I have tried ZBarSDK in iOS, but it scans only one at a time.

Hari
  • 123
  • 1
  • 12

1 Answers1

0

When you scan with ZBarSDK it gives you scanned result of all BarCodes. But we pick only one. You can check values of this for loop.

    id<NSFastEnumeration> results =
        [info objectForKey: ZBarReaderControllerResults];
        ZBarSymbol *symbol = nil;


        for(symbol in results){
            // EXAMPLE: Usually we just grab the first barcode
NSLog(@"REaded Text %@",symbol.data);
// Check out values here, it should return multiple results.
            break;
}
Shahab Qureshi
  • 952
  • 1
  • 7
  • 19