Skip to content
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

Disable menus eg. during login/logout screen #5

Closed
sunny596 opened this issue Jan 21, 2015 · 6 comments
Closed

Disable menus eg. during login/logout screen #5

sunny596 opened this issue Jan 21, 2015 · 6 comments

Comments

@sunny596
Copy link

Thanks for writing this great menu. I am just learning and this is so helpful.
It is clear and very well written.

Would there be a way to disable the both the menus ? Say, during a login/logout screen ?
And how would you suggest I switch to another viewController for this login/logout process.

I am not an advanced user. Any help is appreciated.

Great job !

@moriyaman
Copy link

👍

@thihaaung6245
Copy link

Why try using your login/logout screen as initial view controller.After pressing log in,navigate to main controller which uses slide out.You can also set the controller that will use slide out in AppDelegate.

And you can also disable by adding "self.slideMenuController()?.removeLeftGestures()" in the controller that you want to apply.In my code it was left slide.After disabling the left gesture,your left gesture will not work on all controller that use slide out.So, don't forget to add "self.slideMenuController()?.addGestures()" when you want to enable.This is all i get.I am also newbie to swift,too.Good Luck sunny596.

@dekatotoro
Copy link
Owner

Hi, Thank you feedback.
Application of design I think there are various.
I've updated the Sample with additional menu hide sample.
I do not know what you want, but Please try to reference.

@thihaaung6245
Copy link

Sir,Thank you for your updates.I saw a issue that i can still do the slide out when i rotated the NonMenuViewController from portrait to landscape and when i turn my device from landscape to portrait,slide appear again.

@dekatotoro
Copy link
Owner

Hi, Thank you feedback.
NonMenuViewController Rotate supported.

@sunny596
Copy link
Author

Ah, thank you!
This is what I was looking for.

Thanks for the quick response.
Cheers !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants