I just use ZBar SDK to scan barcode. I want that when the barcode scanned, it can play a beep sound. though the scanning is pretty good. no sound over there. I didn’t find any flag in SDK to take control of sound. does anyone meet with this problem?
I’m new to ZBar. Thank you in advance.
as I know ZXing has beep sound as default.but it can only decode QRCode.
I just use ZBar SDK to scan barcode. I want that when the barcode
Share
The ZBar iPhone SDK doesn’t automatically play a sound on successful scan. It’s not hard to play one yourself, though:
‘beep.mp3’.
In header file:
Setup (possibly in viewDidLoad):
Play sound: