// ZBarReaderViewController *activeBarcodeReader = [[ZBarReaderViewController alloc] init];
// activeBarcodeReader.readerDelegate = self;
// activeBarcodeReader.supportedOrientationsMask = ZBarOrientationMaskAll; //use VC
// ZBarImageScanner *scanner = activeBarcodeReader.scanner;
// [scanner setSymbology: ZBAR_I25 config: ZBAR_CFG_ENABLE to: 0];
//
// [self presentViewController:activeBarcodeReader animated:YES completion:nil];
//-(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info{
//
// //扫描条形码
// if ([picker isKindOfClass:[ZBarReaderViewController class]])
// {
// id<NSFastEnumeration> results =
// [info objectForKey: ZBarReaderControllerResults];
// ZBarSymbol *symbol = nil;
// for(symbol in results)
// break;
// NSLog(@"%@",symbol.data);
//
// }
//
//// for (ZBarSymbol *symbol in symbols) {
//// NSLog(@"%@", symbol.data);
//// NSString *temp = symbol.data;
//// jumpURL = [NSURL URLWithString:temp];
//// // NSString *text=symbol.data;
//// // NSLog(@"%@",text);
//// break;
//// // label.text = symbol.data ;
////
//// }