I'm trying make an app.It starting in profileViewController and if user is not login I have a segue and it is modal.I'm showing LoginViewController.I have a signup button in loginViewController.If User tap that button I have a segue and its need the pushing SignUpViewController. but I'm taking error Presenting view controllers on detached view controllers is discouraged <ProfileViewController:
Test[1875:468590] Unbalanced calls to begin/end appearance transitions for <UITabBarController:
[LoginViewController signUp:]: unrecognized selector sent to instance
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[LoginViewController signUp:]: unrecognized selector sent to instance
what should I do Thanks
Aucun commentaire:
Enregistrer un commentaire