title: Passing UIImage to second view controller lags transition
body: <p>I'm using a UIImagePickerController to select an image from my photo album. Once I've selected the image, I'm passing the image through to a second view controller and displaying it in a UIImageView. See code below:</p>
  
  <p>First view controller:</p>
  
  <pre><code>- (IBAction)selectPhoto
  {
      imagePicker.sourceType = UIImagePickerControllerSourceTypeSavedPhotosAlbum;
      [self presentModalViewController:self.imagePicker animated:YES];
  }
  
  - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
  {    
      UploadViewController *uploadViewController = [[UploadViewController alloc] initWithNibName:@"UploadViewController" bundle:nil];
      [uploadViewController setImage:[info objectForKey:@"UIImagePickerControllerOriginalImage"]];
  
      [picker pushViewController:uploadViewController animated:YES];
  }
  </code></pre>
  
  <p>Second view controller:</p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
  
      // Set the image view image
      imageView.image = self.image;
  }
  </code></pre>
  
  <p>The code does the job, however, when I push from the image picker to my second view controller, it lags as it's transitioning.</p>
  
  <p>Ideally I would like a smooth transition but I would be happy if it just waited half a second or something and then moves smoothly.</p>
  
  <p>Can any explain why this could be happening and how/if I can get around it? </p>
  
  <p>Thanks.</p>