title: How to show another view after a UIImagePickerController
body: <p>I've a tabbar with a button, you click it and you see an UIImagePickerController.
  After the user choose the image I want another view. How can I do it?</p>
  
  <p>I've this:</p>
  
  <pre><code>- (void)imagePickerController:(UIImagePickerController *)picker
    didFinishPickingImage : (UIImage *)image
               editingInfo:(NSDictionary *)editingInfo
  {
  imageToPost.image = image;
  [picker dismissModalViewControllerAnimated:YES];
  PostPopupViewController *postPopup = [[PostPopupViewController alloc] init];
  [self presentModalViewController:postPopup animated:YES];
  }
  </code></pre>
  
  <p>But it returns this error:</p>
  
  <blockquote>
    <p><em>*</em> Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Attempting to begin a modal transition from  to  while a transition is already in progress. Wait for viewDidAppear/viewDidDisappear to know the current transition has completed'</p>
  </blockquote>