Closed alisattar456 closed 8 years ago
did you add pbrevealviewcontroller as initial view controller ?
and did you set the (pb_main and pb_left)segues as PBRevealViewControllerSegueSetController
and in the home view controller you should set it like this viewDidload
_sidebarButton.target = self.revealViewController;
_sidebarButton.action = @selector(revealLeftView);
you don't need to add panGestureRecognizer as pbrevealviewcontroller adds it automatically
As @Sebacho-Barajas wrote:
Your storyboard segue have to be like this (I think you've selected PBRevealViewControllerSeguePushController):
Same for pb_left.
![Uploading Screen Shot 2016-10-14 at 11.39.28 AM.png…]() ![Uploading Screen Shot 2016-10-14 at 11.40.42 AM.png…]()