romaonthego / RESideMenu

iOS 7/8 style side menu with parallax effect.
MIT License
7.1k stars 1.35k forks source link

Can't use pan gesture if I Push a new controller #306

Closed nipun0505 closed 6 years ago

nipun0505 commented 6 years ago

This is my initialization code:

RESideMenu mySideMenu = [[RESideMenu alloc] initWithContentViewController:_mainNavigationController leftMenuViewController:_leftSidebarController rightMenuViewController:nil];

Here _mainNavigationController is a navigation controller. If I push an new controller, I loose the pan gesture all together. Is this the expected behavior?

PengSiSi commented 6 years ago

if you solved,Please tell me the solution,thank you.

nipun0505 commented 6 years ago

@PengSiSi Just set the interactivePopGestureRecognizer.enabled to FALSE for your navigation controller as well as the interactivePopGestureRecognizerEnabled to FALSE for RESideMEnu object

PengSiSi commented 6 years ago

I think not this problem, I just push to one page will not be able to click on the button.

nipun0505 commented 6 years ago

@PengSiSi Sorry, I didn't get it