I'm trying to use SWRevealViewController
in my app which is sliding menu library, but i needed to edit the library with one option and i will explain as follows.
when using addgestureRecognizer
and opening the sliding-menu by keep on holding from the left to the most right and then left it,it bounce too much outside to the right then close the menu. i just need to disable this option from the library, just like to open to its normal limit without bouncing.
The link on GitHub is here : https://github.com/John-Lluch/SWRevealViewController
Go to Line 648 in SWRevealViewController.m
and change it from :
_rearViewRevealOverdraw = 40.0f;
to :
_rearViewRevealOverdraw = 0.0f;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With