I've had an app in the Apple store for several years that uses the ZBar SDK to scan QR codes. It's worked fine over the past couple years, but lately most QR codes I scan now with the app get redirected to a site called pureromance.com. What could possibly be causing this now? Very concerned!
Last edit: Scott 2013-07-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your problem is very odd for a developer, after all the only thing ZBar will do for you is to decode the image into a string and what happens next is really up to your app. I have the new SDK and I do not have the problem. Anyway, if what you are saying is true you probably would want to put a breakpoint to examine symbol.data (NSString *) at the delegate method below (If it is always pureromance,com.as what you say, you need to download a fresh copy of the SDK and recompile again otherwise it is probably a bug in your app):
didFinishPickingMediaWithInfo: (NSDictionary *) info {
//sound alert first [self Beep];
if([QR_OriginisEqualToString:@"Scanned"]){id<NSFastEnumeration>results=[infoobjectForKey:ZBarReaderControllerResults];image=[infoobjectForKey:UIImagePickerControllerOriginalImage];ZBarSymbol*symbol=nil;for(symbolinresults)// EXAMPLE: just grab the first barcodebreak;barcode_type=symbol.typeName;[selfprocess_result:symbol.data];
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've had an app in the Apple store for several years that uses the ZBar SDK to scan QR codes. It's worked fine over the past couple years, but lately most QR codes I scan now with the app get redirected to a site called pureromance.com. What could possibly be causing this now? Very concerned!
Last edit: Scott 2013-07-20
Your problem is very odd for a developer, after all the only thing ZBar will do for you is to decode the image into a string and what happens next is really up to your app. I have the new SDK and I do not have the problem. Anyway, if what you are saying is true you probably would want to put a breakpoint to examine symbol.data (NSString *) at the delegate method below (If it is always pureromance,com.as what you say, you need to download a fresh copy of the SDK and recompile again otherwise it is probably a bug in your app):
didFinishPickingMediaWithInfo: (NSDictionary *) info {
//sound alert first
[self Beep];