Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JASidePanel Swipe doesn't work after push new controller on navigation stack

I use JaSidePanel to achieve effect like in Facebook App. But I have some problem with it.

storyboard

(1) is subclass of JASidePanelController, Navigation Controller is added as center panel. Everything works fine, but after I push new View Controller to Navigation Controller I'm not able to make swip gesture to show Table View (4 - Left Panel). Is there some way around or I'm doing something wrong.

[EDIT] Ok I found why this did occur, JaSidePanel has property panningLimitedToTopViewController that has to be set to NO in order to allow swipe gesture on diffrent view controller that one on top.

like image 892
Michal Gumny Avatar asked Aug 08 '26 05:08

Michal Gumny


1 Answers

jaSidePanelController.panningLimitedToTopViewController = NO;

like image 68
serdaryillar Avatar answered Aug 10 '26 22:08

serdaryillar