IOS slide menu like facebook and path 2.0 that works with storyboard

10,071

Solution 1

I used IIViewDeckController in a project that involved all of the things that you list.

Solution 2

I made a video (3 parts) on youtube on how to make a sliding menu like the on you are looking for. I show you how to set up the project and get everything linked up.

http://www.youtube.com/watch?v=tJJMyzdB9uI

The way this is set up, you should be able to just select UINavigationController instead of UIViewController when creating your files from the first video.

I use ECSlidingViewController because its the easiest to customize.

Hope this helps!

Solution 3

Here is a simple one I wrote. It's built on top of UINavigationController so you can use all UINavigationcontroller functions as well as slide function. No need to inherit any base class for your ViewControllers like other libraries require. Works both on Storyboard and in code.

I haven't tried, but I'm pretty sure if you set a tab-bar-controller as the root view controller of this custom navigation controller it should work as expected.

https://github.com/aryaxt/iOS-Slide-Menu

Share:
10,071
user1688346
Author by

user1688346

Updated on June 05, 2022

Comments

  • user1688346
    user1688346 almost 2 years

    I try looking everywhere for opensource but couldn't find a cocoa control that has the following combination.

    1. Slide Menu
    2. Story Board.
    3. Navigation controller.
    4. TabBar controller.

    I found one open source control that works with 1,2,3 but doesn't work with uitabbarcontroller. http://www.cocoacontrols.com/platforms/ios/controls/saslidemenu

  • geraldWilliam
    geraldWilliam over 11 years
    it doesn't wire up with control drag like a tab bar controller or something would. you have to configure the IIViewDeckController in code. But there's no reason you can't use it in a storyboard project.
  • Zee
    Zee over 10 years
    Is it possible to disbale side menu for all view-controller other than your home view?
  • Darshan Kunjadiya
    Darshan Kunjadiya almost 9 years
    do you have slide menu demo with expandable tableview ? if do you have then send me that demo link. thanks in advanced.
  • aryaxt
    aryaxt almost 9 years
    @DarshanKunjadiya Those are two completely different things. github.com/aryaxt/UITableView-Expand-Sample
  • Darshan Kunjadiya
    Darshan Kunjadiya almost 9 years
    your code is not working well in ipad. how can i set in ipad also
  • Darshan Kunjadiya
    Darshan Kunjadiya almost 9 years
    pls give me fast reply. i was already implemeted in iphone. in ipad not working well. pls help me
  • Darshan Kunjadiya
    Darshan Kunjadiya almost 9 years
    Pls help me for supporting in ipad. in your demo also not working well in ipad. thanks
  • Marcel Marino
    Marcel Marino almost 9 years
    Have you been able to use it in portrait mode? Whenever I switch to portrait mode it resizes the main view and it no longer fits the screen.