ZBAR sdk not detecting QRCODES on iPhone 4s (ios 5.1)...?

ios, ios5.1, iphone, objective-c, zbar-sdk

Solution

Double check that the scanner is configure for reading QR codes. Check my example below:

ZBarImageScanner *scanner = reader.scanner;

[scanner setSymbology:ZBAR_QRCODE
               config:ZBAR_CFG_ENABLE
                   to:1];

Problem

I have integrated the ZBAR sdk in my project and it is working fine for barcodes but it is not detecting the QRCodes. I am using the iPhone 4s and I don't have any other device.. is this a known issue..? I am using the ZBarReaderViewController...

Original source