jeudi 4 août 2016

change view from view will appear

I am checking if the user is logged in and if it is I want to go straight to the main menu (skipping login screen) right now i have this in the login viwillAppear

if currentUser != nil {
        self.performSegueWithIdentifier("login_success", sender: self)
    }

It does go into the if statement but it does not change views. thanks

Aucun commentaire:

Enregistrer un commentaire