-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Popping back to initial state #86
Comments
Sorry for the very late replay. I am not sure I understood correctly, if you need to pop out the right view controller there is a method of the SASlideRootViewController that pops away the right view controller:
I hope this helps. |
Hi Stefano, sorry myself for the late reply. Ah, there it is. Don't know how I could possibly have missed it. 👍 Thanks! |
So, |
Ok. I will have a look at it as soon as possible |
Now you should call the UINavigationController method:
However it will only pop away the topmost view controller, if you need to pop away all the stack of viewcontroller you should call:
The dynamic example now uses it. I hope this helps |
I have an application using left and right menus, and I've been trying to find a "nice" way to make it automatically navigate from an "inner" VC of a right menu navVC, back to the application's initial content, that is, the first content of the left menu. I found no way to do it other than hacking SASlideMenuRootViewController.m and adding a notification listener:
In the above code,
[self tapItem:nil];
"pops" from the right menu, but without[self performSegueWithIdentifier:@"leftMenu" sender:self];
, the previous right menu VC is displayed inside the left menu!So, is there a way to achieve this navigation by just issuing UINavigationController-style pop commands?
The text was updated successfully, but these errors were encountered: