title: UIImagePickerController to another ViewController
body: <p>How to show image from UIImagePickerController to another ViewController.xib?</p>
  
  <p>I have "ViewController1", and here I got this code:</p>
  
  <pre><code>- (IBAction)goCamera:(id)sender {
  
  
      UIImagePickerController * picker = [[UIImagePickerController alloc] init];
      picker.delegate = self;
      [picker setSourceType:UIImagePickerControllerSourceTypeCamera];
      [self presentModalViewController:picker animated:YES];
  }
  
  
  - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info {
      [picker dismissModalViewControllerAnimated:YES];
      UIImageView *theimageView = [[UIImageView alloc]init];
      theimageView.image = [info objectForKey:@"UIImagePickerControllerOriginalImage"];
  
  }
  </code></pre>
  
  <p>How can I go to "ViewController2" and to show taken photo there? I use ViewController1 to take a photo and I want to show this taken photo in ViewController2 where I got a UIImageView. Thanks a lot</p>