-
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
Disconnnect With Storyboard #84
Comments
Sorry for the late replay, It seems that you managed to solve the issue by yourself. In any case if I understand correctly, you need a way to Activate and Deactivate the SASlideRootViewController.
The "Main" view controller is a subclass of SASlideMenuRooViewController.
The "SignIn" view controller is the view controller for the sign in with the userid/password fields. |
Yeah i ve managed to do the trick, but i had to trick it because the disconnect method is directly callable from the left menu, and i dont want to trigger a segue for this indexpath, is there a proper way ? Thanks for your answer :-) |
In the example that I posted I did not used a segue, using the presentViewController: method and than changing the root view controller of the app window should work. |
Stefano, I don't understand, where this code should go (your code above, first snippet): UIStoryboard storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil]; And where should that code (your code above, the second snippet) go? UIStoryboard storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil]; |
Hi, first of all thanks for your amazing work on your menu.
I m using your menu with storyboard and i would like to implement a disconnect action.
I have to implement the segueIdForIndexPath method. How can i with this action properly disconnect a depop all the viewcontrollers ?
Thanks for your answer :-)
The text was updated successfully, but these errors were encountered: