title: How do i set a modal segue (programmatically) to a push segue
body: <p>i have an navigation controller in my storyboard, but for one reason i have to make one segue programmatically, but how do i make a push segue programmatically?</p>
  
  <p>this is my code so far:</p>
  
  <pre><code>- (IBAction)nextviewButton:(id)sender {
      HolesViewController *Holes = [self.storyboard instantiateViewControllerWithIdentifier:@"HolesViewController"];
      Holes.nameString = self.NameField.text;
  
      [self presentViewController:Holes animated:YES completion:nil];
  }
  </code></pre>