Skip to content

popping to rootview controller #75

@tharrington

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];

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