Domanda

I want the app like gmail iPad in landscape mode. I need sliding window with splitview , as shown in image:

enter image description here.

There are three section . When I will go in portrait mode it should be two section in last two section. And it will show only last section and user can see middle section from swipe.

Here's a link!

È stato utile?

Soluzione 2

You can find exact solution using this open source API SWRevealViewController

Altri suggerimenti

Here is what you are looking for:

https://github.com/steipete/PSStackedView

Use MFSideMenu control by Michael Frederick


Universal device support (iPhone + iPad).
Universal orientation support (Portrait + Landscape)
Menus on the left and right side of the screen.
Storyboard support View controller containment Works with UINavigationController. UITabBarController, and other types of view controllers Nice set of configuration options


In your appDelegate.m

#import "MFSideMenu.h"

MFSideMenuContainerViewController *container = [MFSideMenuContainerViewController
                                            containerWithCenterViewController:centerViewController
                                                       leftMenuViewController:leftMenuViewController
                                                      rightMenuViewController:rightMenuViewController];
 self.window.rootViewController = container;
[self.window makeKeyAndVisible];

Look at this control CLCascade.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top