title: 'Push segues can only be used when the source controller is managed by an instance of UINavigationController
body: <p>I am having a problem with this.
  In my root view controller I am having a textfield &amp; one button. I am giving a condition like if i entered 0 in textfield then only it should move to next view.
  upto here it is working correctly. But now here is problem. Here I am having one button &amp; given navigation to third view controller for that button. here i am getting error as</p>
  
  <pre><code>Terminating app due to uncaught exception 'NSGenericException', reason: 'Push segues can only be used when the source controller is managed by an instance of UINavigationController.'
  </code></pre>
  
  <p>image ref: <a href="http://img12.imageshack.us/img12/8533/myp5.png" rel="noreferrer">http://img12.imageshack.us/img12/8533/myp5.png</a></p>
  
  <p>and i am giving action for button in first view as below</p>
  
  <pre><code>- (IBAction)Submit:(id)sender {
  
  if([tf.text isEqual:@"0"])
  {
  
      UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main"   bundle:nil];
  
      SecondViewController *vc2 = [storyboard instantiateViewControllerWithIdentifier:@"SecondViewControllerID" ];
  
      [self presentViewController:vc2 animated:YES completion:NULL];
  
  }  
  }
  </code></pre>