ykyouhei / KYDrawerController

Side Drawer Navigation Controller similar to Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swipe to open not working when main controller is UINavigationController

axlalvaro opened this issue · comments

Hi, so my main controller is a UINavigationController, but when I swipe from the edge of the screen, the drawer does not show up.

Any help on solving this?

Thanks!

I figured out that it works if I disable the pop gesture recognizer of the navigation controller:
self.navigationController?.interactivePopGestureRecognizer?.isEnabled = false

@axlalvaro
Because the gesture conflicts, the above mentioned countermeasure is correct