Slee
Slee

Reputation: 28248

set multiple MMCloseDrawerGestureMode gestures

I am using MMDrawerController and I wish to set multiple closing gestures, anyone know if this is possible? If so how do I accomplish this?

Currently I am doing this:

 [destinationViewController setCloseDrawerGestureModeMask:MMCloseDrawerGestureModePanningCenterView];

Upvotes: 1

Views: 113

Answers (1)

figtree
figtree

Reputation: 26

Don't know if you still need help with this, but to set multiple closing gestures:

 [destinationViewController setCloseDrawerGestureModeMask:MMCloseDrawerGestureModePanningCenterView | MMCloseDrawerGestureModeTapCenterView];

Add however many you wish

Upvotes: 1

Related Questions