-
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
Let "rightMenu" switch correctly when slideOutThenIn = YES. #91
Conversation
issue: slideOutThenIn = YES, "rightMenu" switch wrong. In SASlideMenuContentSegue, run [destination performSegueWithIdentifier:@"rightMenu" sender:rootController]; before switchToContentViewController animate completed. workaroud: run [destination performSegueWithIdentifier:@"rightMenu" sender:rootController]; after switchToContentViewController.(completed) SASlideMenuRightMenuSegue.perform [source.parentViewController == nil]
Hi eyeye, What type of problem you get when you set slideOutThenIn = YES ? |
If i built UI each content MenuContent view has it's own rightMenu, and in slideOutThenIn() return YES. |
Hi eyeye, I finally understood the problem and fixed it using your suggestion. |
Good morning :) I just updated SASlideMenu, and got a crash on : if (hasRightMenu) { I have the lastest version. Any ideas ? (It was working before the update :) ) |
Do you have the Xcode Log? |
Actually it's not a crash, it shows a breakpoint on this line, I can continue, but transition isn't working. (Unknown exception throw). The destination is a UINavigationController |
To use the new version you have to create a view inside the SASlideMenuRootVIewController and connect it to the menuView outlet. This view will contain the left menu and you can size the left menu according to your needs. If you do not do that you will not see any left menu. |
I'll do asap, thank you :) |
issue: slideOutThenIn = YES, "rightMenu" switch wrong.
In SASlideMenuContentSegue,
run [destination performSegueWithIdentifier:@"rightMenu" sender:rootController];
before switchToContentViewController animate slideOut , completed.
cause SASlideMenuRightMenuSegue.perform [source.parentViewController == nil]
workaroud:
run [destination performSegueWithIdentifier:@"rightMenu" sender:rootController];
after (void) switchToContentViewController:(UINavigationController*) content completion:(void (^)(void))completion;
MARK: My first github pull request.....