Open Sanjidah opened 3 years ago
override func viewDidAppear(_ animated: Bool) { if UserDefaults.standard.bool(forKey: "userLoggedIn") == true { self.performSegue(withIdentifier: "loginToHome", sender: self) } } UserDefaults.standard.set(true, forKey: "userLoggedIn")
override func viewDidAppear(_ animated: Bool) { if UserDefaults.standard.bool(forKey: "userLoggedIn") == true { self.performSegue(withIdentifier: "loginToHome", sender: self) } }
UserDefaults.standard.set(true, forKey: "userLoggedIn")
override func viewDidAppear(_ animated: Bool) { if UserDefaults.standard.bool(forKey: "userLoggedIn") == true { self.performSegue(withIdentifier: "loginToHome", sender: self) } }
UserDefaults.standard.set(true, forKey: "userLoggedIn")