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

self.revealViewController set main viewcontroller programmatically #25

Closed lorenzoPrimi closed 7 years ago

lorenzoPrimi commented 7 years ago

Hi all, I need to change the view controller programmatically from one screen to another, so far I tried these solutions:

iDevelopper commented 7 years ago

[self.revealController setMainViewController:animated:] does not work? (animated)

lorenzoPrimi commented 7 years ago

Thanks, with animated it works. I was using animated: only on pushMainViewController