I want to have two Drawer menus, one from left another from the right.
Is it possible using ECSlidingViewController 2
. If no then can you suggest the better way to achieve the same?
Asked
Active
Viewed 90 times
0
2 Answers
1
Check out this library RESideMenu is it very easy and have left and right menus
Here is a sample code
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
UIViewController *firstViewController;// initial view controller
UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:firstViewController]];
UIViewController *leftMenuViewController; // your left menu
UIViewController *rightMenuViewController; // your right menu
RESideMenu *sideMenuViewController = [[RESideMenu alloc] initWithContentViewController:navigationController
leftMenuViewController:leftMenuViewController
rightMenuViewController:rightMenuViewController];
sideMenuViewController.backgroundImage = [UIImage imageNamed:@"Stars"];
[self.window makeKeyAndVisible];
return YES;
}

Mahmoud Adam
- 5,772
- 5
- 41
- 62
-
Offering a link to an alternative library does not answer the question. This would be more appropriate as a comment. – Brian Jun 29 '15 at 18:18
-
He asked if there is a better way to achieve the same solution – Mahmoud Adam Jun 29 '15 at 18:19
-
You're right. Then I recommend including a short example or explaining how he can use RESideMenu to implement this. Answers that only link to a library are usually deleted for being a "link-only answer". – Brian Jun 29 '15 at 18:26
-
1Ok I'll edit my answer, I just added the link because I'm logging on from my iPhone – Mahmoud Adam Jun 29 '15 at 18:28
0
You can use MFSideMenu too. It is also a very simple library to implement.
The git link is https://github.com/mikefrederick/MFSideMenu
I have made a video too regarding this
https://www.youtube.com/watch?v=2kuhBOTdx00
Here I have set left and central, you can set right side menu too.

Rajan Maheshwari
- 14,465
- 6
- 64
- 98