title: Pass image from UIImagePickerController to another ViewController
body: <p>I'm reading lots of posts about this but I can't solve my problem...
  I'm trying to send an Image from one ViewController with Picker...to another ViewController but the image doesn't appear...</p>
  
  <p>I have 2 VC:</p>
  
  <p><strong>HomeViewController.h:</strong></p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  #import "PhotoViewController.h"
  
  @interface QuizTypeViewController : UIViewController &lt;UIImagePickerControllerDelegate, UINavigationControllerDelegate&gt;
  
  - (IBAction)photo:(id)sender;
  
  @end
  </code></pre>
  
  <p><strong>HomeViewController.m</strong> (I'm getting the image correctly, i'm going to post just the segue code)</p>
  
  <pre><code>- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info {
  
  UIImage *chosenImage = info[UIImagePickerControllerEditedImage];
  
  PhotoViewController *controller = [PhotoViewController new];
  controller.imageView.image = chosenImage;
  
  [picker dismissViewControllerAnimated:YES completion:NULL];
  [self performSegueWithIdentifier:@"viewPhoto" sender:self];
  
  }
  </code></pre>
  
  <p><strong>PhotoViewController.h</strong></p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  
  @interface PhotoViewController : UIViewController
  @property (strong, nonatomic) IBOutlet UIImageView *imageView;
  @end
  </code></pre>
  
  <p><strong>PhotoViewController.m</strong> - Nothing...</p>
  
  <p>What I'm doing wrong? I don't know...</p>