title: How to Dismiss 2 Modal View Controllers in Succession?
body: <p>I have 2 view controllers presented modally.</p>
  
  <pre><code>A presents B which presents C.
  </code></pre>
  
  <p>When I dismiss C I would like to dismiss B as well. But I am not sure how to do this:</p>
  
  <p>Dismiss C:</p>
  
  <pre><code>[self dismissModalViewControllerAnimated:YES]
  //[delegate dismissB] //this doesn't work either when i create a delegate pattern
  </code></pre>
  
  <p>Now I am left with B. How can I dismiss B from C?</p>