andreamazz / andreamazz/SlideOutNavigation

popping to rootview controller

Open
#75 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
207
Forks
49
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.