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

How to make leftViewRevealWidth 90% of the screen #50

Closed ranudhurandar closed 6 years ago

almas123 commented 6 years ago

Hello, in ur revealviewcontrolller self.leftViewRevealWidth = self.view.frame.width/1.2

iDevelopper commented 6 years ago

Objc:

    self.revealViewController.leftViewRevealWidth = UIScreen.mainScreen.bounds.size.width * 0.90;

Swift:

    self.revealViewController()?.leftViewRevealWidth = UIScreen.main.bounds.width * 0.90
ranudhurandar commented 6 years ago

Thank you so much 👍