kawoou / KWDrawerController

Drawer view controller that easy to use!
MIT License
157 stars 32 forks source link

Remove the gestures for a certain drawer #30

Closed ccosnean closed 5 years ago

ccosnean commented 6 years ago

How do I remove the gestures for a certain drawer?

I will have a drawer with the main menu on all pages, and a drawer with an module submenu for a certain module...

and I want only the main menu to be triggered by gestures...

kawoou commented 5 years ago

Change the options as follows:

drawerController?.getSideOption(for: .left)?.isGesture = false