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

I have included ZBAR sdk in my project and it works fine for barcodes but does not detect QRCodes. I am using iPhone 4s and have no other device. This is a known issue ..? I am using ZBarReaderViewController ...

+3


source to share


3 answers


Double check that the scanner is configured to read QR codes. Check out my example below:



ZBarImageScanner *scanner = reader.scanner;

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

      

+12


source


This could be due to the data you are encoding into QRCode. In Barcode, this will always be a number, but in a QR code it is not. Try to store the data in a string and write down the string.



0


source


I have a zbar Api for UPC barcode scanning and it works very fine, follow the below tutorial in ios 5. Write it down and try it, I tested it on well working devices.

http://iphonenativeapp.blogspot.in/2011/07/qr-code-readerscanner-for-iphone-app-in.html

thank

0


source







All Articles