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

Is it possible to make MMDrawerBezelRange as a Percentage of the screen instead of an absolute value? #499

Open
mark22 opened this issue Sep 24, 2017 · 0 comments

Comments

@mark22
Copy link

mark22 commented Sep 24, 2017

Is it possible to make MMDrawerBezelRange as a Percentage of the screen?

Right now I see the CGFloat const MMDrawerBezelRange = 20.0f; line and I can successfully change it to different numbers, but as the apple devices are becoming more heterogeneous in sizes I was thinking it would be better as a percentage.

For example I would like the bezel to work if someone swipes anywhere within the left 75% of the screen. This will thereby allow left swipes to delete a row in a tableview to work for example.

Does anyone know if there is a simple code change I could make to change this from an absolute value to a screen size percentage?

Thank you!

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

1 participant