Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I don't know if you still need this, but i had the exactly same problem today, too. What you need to do is:</p> <ul> <li>remove the both methods over your app Delegate</li> </ul> <p>put this in your app Delegate:</p> <pre><code>UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"YOUR_STORYBOARD" bundle:[NSBundle mainBundle]]; MFSideMenuContainerViewController *container = (MFSideMenuContainerViewController *)self.window.rootViewController; UIViewController *leftSideMenuViewController = [storyboard instantiateViewControllerWithIdentifier:@"THE_IDENTITY_OF_YOUR_SIDEMENU"]; UITabBarController *centerViewController = [storyboard instantiateViewControllerWithIdentifier:@"IDENTITY_OF_YOUR_TABBARCONTROLLER"]; [container setCenterViewController:centerViewController]; [container setLeftMenuViewController:leftSideMenuViewController]; //for the right Side, its the same way... [container setPanMode:MFSideMenuPanModeNone]; //remove this line, if you need the pan mode return YES; </code></pre> <p>In your Storyboard you have to put a ViewController as a subclass from "MFSideMenuContainerViewController". Mark this View as the "Initial View Controller" in the Attribute Inspector. Now use a Segue from your new Initial View Controller and let it "push" to your TabBarController. To avoid a Warning rename the Segue.</p> <p>After you have done this, you can add a UIBarButtonItem to every View, you like to add the SideMenu. In the Action Method of this UIBarButtomItem you only need to do this:</p> <pre><code> [self.menuContainerViewController toggleLeftSideMenuCompletion:^{}]; </code></pre> <p>finally make sure you have a UIViewController or a UITableViewController, that is your "SideMenu" and set the right Storyboard ID.</p> <p>if you are still need help, comment this... and sorry for my english :) </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload