aryaxt / iOS-Slide-Menu

iOS Slide Menu with ability to add both left and right menu, and built in gesture recognizer. Similar to Path and Facebook
Other
1.53k stars 359 forks source link

stop unwanted (disabled) gesture recogniser #185

Open mauropiccini opened 9 years ago

mauropiccini commented 9 years ago

Hi, kudos for this library, I love it.

My app does not have a right menu and I want to use the swipe gesture to slide the menu and to reveal table view row actions.

I've implemented a delegate method to stop the pan gesture recogniser if it has the disabled direction. This will allow to use tableview row actions with right menu disabled for the current view controller.

It works pretty well in my app.

Mauro.