Closed cheenu closed 11 years ago
@jamonholmgren would be great if you also could take out a couple of minutes to check this out if possible. thanks! :)
@cheenu Does this Stackoverflow answer help?
Sorry for the late reply - I managed to fix it by doing
app_delegate.slide_menu.removePanGestureRecognizerFromFrontView
which disables the gesture recognizer and then doing
App.delegate.slide_menu.addPanGestureRecognizerToFrontView
in all the controllers that I wanted the slide menu to work. Worked perfect.
(Not sure why setting recognizesPanningOnFrontView to false doesn't disable gesture recognizer though)
Good to know!
@cheenu - thanks for letting us know, updated the README to include this information in https://github.com/macfanatic/promotion_slide_menu/commit/ef84ef53c3135234e09e2fc8d99665c1e8f197ca.
No problem, thanks for creating this gem :+1:
Looks like addPanGestureRecognizerToFrontView
and removePanGestureRecognizerFromFrontView
no longer exist on PKRevealController. Not seeing an equivalent at https://github.com/pkluz/PKRevealController/blob/master/Source/PKRevealController/PKRevealController.h
Is there a new way to do it?
Set recognizesPanningOnFrontView
to true
or false
. The example that I gave my original post works now for some reason.
Thanks @cheenu
Disabling gesture recognition doesn't seem to work.
Am I missing something obvious? :)
App with commands to disable gesture recognition
https://github.com/cheenu/promotion_slide_menu_disable_gesture_recognition