title: Ugh, dismissing uiviewcontrollers and imagePickerController
body: <p>Here's my set-up:</p>
  
  <p>Nav Controller: ViewcontrollerA -> ViewControllerB</p>
  
  <p>ViewcontrollerB displays a imagePickerController, setting itself as Delegate</p>
  
  <p>If the user hits CANCEL from the UIImagePicker, I was to dismiss ViewControllerB completely, popping the user back to ViewControllerA.</p>
  
  <p>In:      </p>
  
  <pre><code>-(void)imagePickerControllerDidCancel:(UIImagePickerController *)picker
  </code></pre>
  
  <p>I have called:</p>
  
  <pre><code>[self dismissViewControllerAnimated:YES completion:nil];
  </code></pre>
  
  <p>and</p>
  
  <pre><code>[[self parentViewController]  dismissViewControllerAnimated:YES completion:nil];
  </code></pre>
  
  <p>and</p>
  
  <pre><code>[[[self parentViewController] parentViewController]  dismissViewControllerAnimated:YES completion:nil];
  </code></pre>
  
  <p>No luck, ViewControllerB still hangs around.  </p>
  
  <p>How to I completely dismiss B programmatically from itself?</p>