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 ?
The bar code will program the scanner not to scan the same bar code twice in a row unless the bar code is removed from the scan field or a different bar code is scanned in between.
Barcodes are inherently copyable. If you can see it, an attacker can forge it. Instead, you'll need a different approach to securing the data. You could physically hide the barcode until it's time to scan it.
Open the Camera app from the Home Screen, Control Center, or Lock Screen. Select the rear facing camera. Hold your device so that the QR code appears in the viewfinder in the Camera app. Your device recognizes the QR code and shows a notification.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With