iDevelopper / PBRevealViewController

A UIViewController subclass for revealing a left and/or right view controller above or below a main view controller.
MIT License
80 stars 16 forks source link

Ability to slide the main window #53

Closed justdan0227 closed 6 years ago

justdan0227 commented 6 years ago

Does this have the ability to slide the main view controller along with the fly out menu or is it only overlay?

iDevelopper commented 6 years ago

Like SW?

justdan0227 commented 6 years ago

Yes sorry like SW. I need the hamburger menu to slide over with the menu and slide the current view controller

iDevelopper commented 6 years ago

Use:

        self.revealViewController()?.isLeftPresentViewOnTop = false

The same property exists also for right view (isRightPresentViewOnTop)

PBRevealDeinit.zip

justdan0227 commented 6 years ago

WOW.. ok this library rocks! Yep that worked perfectly! Thanks!

iDevelopper commented 6 years ago

Welcome! You can test the sample project named "ExampleWithSwiftLibrary" in the repo for severals parameters. Open the left menu and select Settings:

capture d ecran 2018-09-08 a 18 48 07