Skip to content

popping to rootview controller #75

Description

@tharrington

If I have a navigation controller with the following structure:

nav -> login -> slideout -> three view controllers

from one of my view controllers in the slideout, I want to pop to the root view controller or the login controller. Is this not possible? From the view controller, a user hits a logout button and then they should pop back to the login screen:

viewcontrollerInSlideout *my_vc = [self.navigationController.viewControllers objectAtIndex:0];
[self.navigationController popToViewController:my_vc animated:YES];

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions