-
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
How to open, close left and right menues? #90
Comments
What you are asking is not currently supported, I am not sure it is easy to do but I will check it.
I hope this helps |
Yes, this delegate methods are helpful sometimes in some cases, |
Ok, now I understand.
The problem is that it is useful if you need to switch to a different content viewcontroller but if you only need to show the menu, currently there is no support for that. |
I have added two methods to the SASlideMenuViewController:
The Static test uses |
Yes, now it works. But only for left menu. In that function, you call wich always return indexPath at (0,0), because in ExampleStatic VC you have Furthermore , calling only [self.rootController doSlideToLeftSide] method not enough, because the rightMenu will not added while pan gesture state is not began and direction is not "to left" (or rightMenuButton is not tapped). before [self.rootController doSlideToLeftSide] , Here is an updated project. http://www.mediafire.com/download/slhuy7xmt99rmea/SASlideMenu-master.zip |
…ddRightMenu call and changed the check for the menu existence. #90
Good catch!! Thank You for the precise feedback. |
Glad to help you :) |
Hi.
At first, thank you for great job.
My Question.
I have a left and right menues.
There is a button in left menu, which pushing content segue to nav controller, which has 2 view controllers ( root View controller and connected to him view controller with push segue).
In rootVC both menues (left & right) works as needed, but when i tap on some button and pushing to 2nd VC, then the right button is disappearing in nav bar , and i lost right menu there ( I can open it ONLY when i swiping to left , but in my case I disablePanGesture in this indexPath).
How can i set back right button, and open right menu by tapping on it ?
Also ,please tell me how to open, close, enable or disable left and right menues programmatically, without changing Your code .
Because there is
methods in your code (in SASlideMenuRootViewController.m), but these methods are private , and we can't use them without make them public ourself :)
Thank You.
The text was updated successfully, but these errors were encountered: