title: Programmatically push modal view controller
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/8097398/how-to-create-custom-modal-segue-in-4-2-xcode-using-storyboard">How to create custom modal segue in 4.2 Xcode using storyboard</a>  </p>
  </blockquote>
  
  
  
  <p>So I have a viewController that I want to push onto my current view controller modally.  Here is the screenshot of my storyboard, with the view I'm trying to load highlighted:
  <img src="https://i.stack.imgur.com/aDD2r.png" alt="enter image description here"></p>
  
  <p>So I've created a segue between the current view and the second navigation controller, lets call it "alert".  Because I don't have the segue tied to any sort of button, I'm just trying to load the view modally within the following if statement:</p>
  
  <pre><code>if([detector judgeSpeed:[ratio floatValue]])
  {
      //push the new view here
  }
  </code></pre>
  
  <p>How do I go about this?  Do I need to implement some sort of delegate or the prepareForSegue method?</p>