Open Antuaaan opened 8 years ago
Realised that the viewControllers were not being deinitialised after the centreVC was changed so added self.dismissViewControllerAnimated(false, completion: {})
each time I change the centreVC.
I don't fully understand the issue here, do you have sample code that illustrates the problem, or is this now resolved?
When I first run my app I call one centreViewController with no drawers (Login). Then after login I call a new centreViewController with
appDelegate.centerViewController = appDelegate.navigationBarController()
which only works if I restart the app. Am I missing something?The logout seems fine though
appDelegate.centerViewController = appDelegate.drawerSettingsViewController()
which puzzles me a bit because then I think I'm on the right track?Am I supposed to only use normal segues and such first and then only call the drawerViewController?