I am using Firebase authentication in swift iOS. When signing out, I am getting the following error:
whose view is not in the window hierarchy!
Below is the button action that is being performed, what should I follow, ignore it or in future it will give me some major issues?
@IBAction func signOut(_ sender: Any) {
try! Auth.auth().signOut()
self.performSegue(withIdentifier: "toLoginScreen1", sender: self)
}
}