ZBarSymbol has return codes for the type. You will search for ZBAR_QRCODE for QR codes
ZBarSymbol Documentation
Something like this should help you get the character:
- (void) readerView: (ZBarReaderView*) view didReadSymbols: (ZBarSymbolSet*) syms fromImage: (UIImage*) img { //do something useful with results and display resultText in resultViewController for(ZBarSymbol *sym in syms) { imageResult3.image = img; resultText.text = sym.typeName; resultText.text = [ resultText.text stringByAppendingString:@" - " ]; resultText.text = [ resultText.text stringByAppendingString:sym.data ]; } }
source share