title: scan barcode(generated using ZBar SDK) using iPhone simulator?
body: <p>I want to test my barcode scanner using iPhone Camera.</p>
  
  <p>I'm using ZBar SDK for my barcode scanning.</p>
  
  <p>I have a scan button for this.When I click on Scan button,its showing me the message,"<strong>Camera simulation, tap and hold with two finger to select image</strong>".When I'm doing this,its showing "No photo" in another view. </p>
  
  <p>I'm doing like this:</p>
  
  <pre><code>-(IBAction) scanButtonTapped
  {
  //Barcode reader that scans from camara feed
  reader = [ZBarReaderViewController new];
  reader.readerDelegate = self;
  reader.supportedOrientationsMask = ZBarOrientationMaskAll;
  ZBarImageScanner *scanner = reader.scanner;
  //disable rarely used I2/5 to improve performance
  [scanner setSymbology:ZBAR_QRCODE config:ZBAR_CFG_ENABLE to:0];
  reader.readerView.zoom = 1.0;
  //present and release the controller
  [self presentModalViewController:reader animated:YES];
  
  }
  -(void)imagePickerController:(UIImagePickerController *)picker   didFinishPickingMediaWithInfo:(NSDictionary *)info
  {
  //get decode result
  id&lt;NSFastEnumeration&gt; results = [info objectForKey:ZBarReaderControllerResults];
  ZBarSymbol *symbol = nil;
  for (symbol in results) {
      break;
  }
  resultText.text = symbol.data;
  resultImage.image = [info objectForKey:UIImagePickerControllerOriginalImage];
  [reader dismissModalViewControllerAnimated:YES];
  }
  </code></pre>
  
  <p>I'm trying to scan QR code.</p>
  
  <p><strong>Could any one plaese tell me how can I select an barcode image and scan it using simulater?</strong></p>
  
  <p>Thanks.</p>