title: how to push to another viewcontroller (detail view) using segue on a uisplitviewcontroller
body: <p>I'm starting to work on an ipad application that would require activity (or functions) on the detail view and would push (or transfer) to another view controller depending on the button tapped.</p>
  
  <p>Trying to figure out if segue is what I'm supposed to be using with this.</p>
  
  <p>My storyboard looks like this:</p>
  
  <blockquote>
    <p>SplitViewController -> navigationcontroller(master view) / login
    (detail view) -> dashboard (will be transferred on successful login</p>
  </blockquote>
  
  <p>But whenver I tap the button and successfully login it would give me this error:</p>
  
  <blockquote>
    <p>Push segues can only be used when the source controller is managed by
    an instance of UINavigationController.'</p>
  </blockquote>
  
  <p>Thoughts?</p>
  
  <p>EDIT: Code that pushes to the next viewcontroller </p>
  
  <pre><code>- (IBAction)btnSubmit:(id)sender {
      User *user = [[User alloc] init];
      user.email = self.txtEmail.text;
      user.rawPassword = self.txtPassword.text;
  
      if(user.isValid){
          [self performSegueWithIdentifier:@"LoginSuccess" sender:self];
      }
  }
  </code></pre>