jonkykong/SideMenu

Add and remove Gestures

Closed this issue · 3 comments

When I add:

SideMenuManager.default.addScreenEdgePanGesturesToPresent(toView: self.navigationController!.view)

How to remove the gestures?

SideMenuManager.default.enableSwipeGestures = false not works

@mrgaolei did you find solution to disable gesture???

addScreenEdgePanGesturesToPresent returns the gesture that was created. If you want to remove it, simply remove that returned gesture from the desired view or disable the gesture.