title: dismissModalViewControllerAnimated deprecated
body: <p>I've just upgraded to XCode 4.5 to update my iOS app to run on the 4 inch display for the iPhone 5, but I'm getting a build error saying <code>dismissModalViewControllerAnimated:' is deprecated</code> on the line:</p>
  
  <pre><code>[self dismissModalViewControllerAnimated:NO];
  </code></pre>
  
  <p>I've tried updating to the recommended overload with a completion handler (but set to NULL) like this:</p>
  
  <pre><code>[self dismissModalViewControllerAnimated:NO completion:NULL];
  </code></pre>
  
  <p>But then this line throws two errors:</p>
  
  <pre><code>warning: 'TabBarController' may not respond to '-presentModalViewController:animated:completion:'
  Instance method '-presentModalViewController:animated:completion:' not found (return type defaults to 'id')
  </code></pre>
  
  <p>Thanks!</p>