title: How to implement a Modal View in a TabBar iOS app
body: <p>I am trying to present a modal view in a tabbar app. I am using the code </p>
  
  <pre><code>- (IBAction)newView
  {
   [self.viewController presentModalViewController:viewController 
                                          animated:YES];
  }
  </code></pre>
  
  <p>linked to a button. When the button is pressed, nothing happens and nothing is displayed on the log. This is most likely simple to fix, but I have not found anything that has worked yet.</p>
  
  <p>Thanks</p>