title: Display View based on condition at start
body: <p><a href="https://stackoverflow.com/questions/38651854/display-a-particular-viewcontroller-in-xcode-swift-using-if-else-conditional-sta">I want to do the same thing like this person here.</a> But the code in the result is 4 years old.
  I want to open viewcontroller1 if true stay on page if wrong. With IOS 13 AppDelegate.swift is not responsible anymore for this. I also cant find any tutorials maybe because it is to new. I work with Storyboard not SwiftUI. Any suggestions? I read somethings about changing SceneDelegate.swift</p>
  <pre><code>if x = true {
    //segue to viewcontroller1
  } else {
    //stay on this page
  }
  </code></pre>