0

In my AppDelegate, I check for a client token in my keychain. If found, I make my Dashboard ViewController the root view controller, hence autologging in. But, when logging out, I can't call dismiss because the dashboard VC is the root view controller. So when user presses log out, I check if I can dismiss, if not then I just segue. However, I'd like to remove the DashboardVC from memory in case I segued. How do I do that?

EDIT: Not using a navigation controller Thanks in advance

1 Answers1

0

Basically you have two options here:

algrid
  • 5,600
  • 3
  • 34
  • 37