title: mainStoryboard instantiateViewController display problem - Swift
body: <p>It opens as a tab when switching to another view. So, as you can see in the first photo, it opens the newly opened view in this way. But I want to see it as a full screen, not as a tab as in the second photo. There is no show relationship between them as in the code I'm opening klass. When I open the LoginView idenfier in the code, it comes as a tab instead of a full screen</p>
  
  <p>*Photos from the top of the phone.</p>
  
  <p><a href="https://i.stack.imgur.com/ChyHU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ChyHU.png" alt="First Photo"></a></p>
  
  <p><a href="https://i.stack.imgur.com/tlPo8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tlPo8.png" alt="Second Photo"></a></p>
  
  <pre><code>class ASD: UIViewController {
  
      @IBAction func logoutButton(_ sender: Any) {
        let mainStoryboard = UIStoryboard(name: "Main", bundle: Bundle.main)
        let vc : ViewController = mainStoryboard.instantiateViewController(withIdentifier: "LoginView") as! ViewController
          self.present(vc, animated: false, completion: nil)
      }
  }
  </code></pre>