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
*Photos from the top of the phone.
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)
}
}