I currently have an issue with this error message, it will only ever appear once in the application.
Attempt to present <NavViewController: 0x1457c370> on <InitalStartupViewController: 0x145371a0> whose view is not in the window hierarchy!
The way the app functions is that it will ask the user to log on only once (unless the app is uninstalled) , then every time after that the user is directed to the following view controller (which would also happen after the user logs in). This is the only error message that shows after the user has logged in.
The ViewController that the user is directed to after logs in is being direct by :
[self performSegueWithIdentifier:@"alreadyRegistered" sender:self];
I have seen that I should be dismissing the previous view controller but i have had no success with stopping this message.
In this case should I be doing something different to move to the final ViewController after logging in for the first time or every time after that.