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

Prevent menu from opening #17

Closed
sadanro100 opened this issue Sep 30, 2015 · 4 comments
Closed

Prevent menu from opening #17

sadanro100 opened this issue Sep 30, 2015 · 4 comments

Comments

@sadanro100
Copy link

In order to prevent the menu from opening in specific ViewControllers I had to set the menu width to 0 and set it to .Closed when the delegate tells me it's been opened.

Besides not being elegant, the dark overlay appears for a slight moment.

Any other way around it?

Thanks.

@ykyouhei
Copy link
Owner

ykyouhei commented Oct 2, 2015

@sadanro100 Hi!
I wanted to try to add a flag to disable the gesture .

public class KYDrawerController: UIViewController, UIGestureRecognizerDelegate {
    :
    var screenEdgePanGestureEnabled: Bool
    :
}

Please wait a while.

@ykyouhei
Copy link
Owner

ykyouhei commented Oct 7, 2015

@sadanro100 Hi.
I've solved the problem . Please check 👍
https://github.com/ykyouhei/KYDrawerController/releases/tag/1.1.1

@ykyouhei ykyouhei closed this as completed Oct 7, 2015
@sadanro100
Copy link
Author

Thank you very much for you attention and help.

:)

@zishanj
Copy link

zishanj commented Aug 24, 2019

sample code on #123

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

3 participants