Open Mohammed-Elias opened 7 years ago
1) Use right view controller as front and front view controller as menu
Thanks but it sounds another library ?
Yes, 1. is the solution with SWRevealViewController, 2. is the solution with another library.
Good, but what exactly should I do with the storyboard I have this: 1) the segue from Reavel View Controller to menu is (sw_rear). 2) the segue from Reavel View Controller to Home is (sw_front).
what should I change ?
With SWRevealViewController?
yes
sw_front from Reveal View Controller to menu. sw_right from Reveal View Controller to home.
forgive me, but I should explain more: I want Menu VC to cover Home VC and the configuration right now is : 1) the segue from Reavel View Controller to menu is (sw_rear). 2) the segue from Reavel View Controller to Home is (sw_front).
with these configuration Menu push the Home when I make gesture or tap the button of menu
when I make your changes I got the Menu as the landing view and if I go to Home from the menu I cant go back by the gesture.
You have to check some parameters like rightViewRevealWidth, rightViewRevealOverdraw etc...
And add the reveal pan gesture to the reveal controller view.
This is a bit complicated and I recommend to switch to the other library witch is very similar.
thanks a lot, and by the way your PBRevealViewController is awesome.
Is there any parameter in the class I can modify to make that happen ?