ios - MMDrawerController pan gesture behaviour when center controller has Scroll View -


i'm looking have used mmdrawercontroller.

i've downloaded example project , has table view center view controller. pan gesture works correctly - starts open drawer if gesture horizontal. drawer not open when scroll table view. desired behavior me.

but when set own project , there's scrollview or tableview - scrolling them , down opens drawer if scrolling gesture has slightest horizontal component confusing , barely usable.

i've tried understand makes difference in example project looking through code, no success. didn't find gesture recognizer callback overrides or changing gesture behavior.

i've looked through threads on considering mmdrawercontroller, didn't find similar.

i know can override things in mmdrawercontroller subclass change gesture recognition , achieve desired behavior way, don't want reinvent wheel here. there easy answer overlooked.

i've found origin of problem. has nothing mmdrawercontroller. in project, had category implements gesturerecognizer delegate's method de facto overrides implementation in viewcontrollers. should use subclass instead of category in case, bad design.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -