pkluz / PKRevealController

PKRevealController is a delightful view controller container for iOS, enabling you to present multiple controllers on top of one another.
Other
3.85k stars 659 forks source link

How can I show all the contents of frontViewController in landscape with rearViewController always visible #176

Open nfs3250 opened 10 years ago

nfs3250 commented 10 years ago

I want to show all the contents of frontViewController when app enters Landscape mode & rearViewController is visible on the screen in iPad. Currently frontViewController's right most content is hidden as rearViewController is shown on left side of the screen.

Can you tell me how can I do this using PKRevealController ?

Thanks

John-Lluch commented 10 years ago

You may want to try the SWRevealViewController. It was designed to be both light weight and very flexible. Particularly, it incorporates a set of delegate methods that you should be able to use as code hooks to implement virtually any requirement. It also calls appearance methods correctly on its child controllers and handles rotations nicely, so you should be able to use it for your purposes. It's much newer than the PKRevealController but there are already hundreds of apps using it.