MMDrawerController icon indicating copy to clipboard operation
MMDrawerController copied to clipboard

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

Open mark22 opened this issue 8 years ago • 0 comments

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!

mark22 avatar Sep 24 '17 19:09 mark22