title: How to make a segue happen in viewDidLoad()?
body: <p>I'm trying to make a segue happen in a similar fashion to this:</p>
  
  <pre><code>viedDidLoad(){
      if 0==0 {
          *segue happens*
      }
  }
  </code></pre>
  
  <p>but all of the recommendations I see are very old and use <code>performSegueWithIdentifier</code>, which no longer works. If it is useful information, I also am using a navigation bar, however, it does not need to work with this ViewController since the ViewController is only supposed to change Views if the user clicks a button (i.e. accept &amp; decline).</p>