How to add the right side of the iOS Slide Menu

I want to create a slide menu (both on the right and on the left) in the Storyboard. Here the left menu bar is viewControlleralso UITableViewwith those customCellbuilt into it to execute the menu style. I followed the youtube "tutorial" , and the left panel works fine. But now I need to do the same for the right slide menu. Same.

When I connect a session, the segue identifier for the storyboard is used for the left menu sw_rear, and the viewControllersegue identifier for the storyboard is used for the front menu sw_front. Or 1st viewControllerlist menu left silde. But there is also a segue identifier in the main source file ("SlideOutMenuFiles"), which is sw_right, and it has never been used anywhere in the code. Therefore, I suggest that it can be used to implement a bevel on the right side.

I am trying to implement it on the right side, but cannot do it. If someone understands my need or is familiar with this problem, any suggestion will be very noticeable. Thanks so much for your time. Have a good day.

If you want "here" , this is my demo project. Take a look.

(Addition: Please do not offer a third-party API. I already tried with them.)

enter image description here

+4
source share
3 answers

You have already done this for the left side, I'm not sure if the problem is u to implement the same for the right side.

Simple add one more button to BangladeshViewControllerand add its action to rightRevealToggle:, and also add a new controller for the right menu and connect it to SWRevealViewController, specify the user name of the sag as "sw_right" ,.

Just like you did for the left side.

enter image description here

+4
source

For the right menu:

1) Drag new ones UIViewControlleror UINavigationControlleraccording to your storyboard needs.

2) Controller Segue RevealViewController SWRevealViewControllerSegue, MenuViewController, id 'sw_right'.

3) .

, , .

+2

You can check the code here

or

git code

Hope this helps you!

+1
source

All Articles