You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In one of my viewControllers I use it with success, however I'm facing a problem in a viewController where I want the leftView to be called from a button. Whenever I try to set the delegate with self.revealViewController().delegate = self it fails at runtime caused by a nil. In my class I basically do this:
The self.revealLeftView basically just call the revealLeftView on the PBRevealViewController. I got my main view set up with pb_main and the menu view with pb_left.
If I leave out the delegate setting the menu works fine, but I can't customize it. Should I place the delegate in the ViewDidAppear instead?
The text was updated successfully, but these errors were encountered:
Hi there,
In one of my viewControllers I use it with success, however I'm facing a problem in a viewController where I want the leftView to be called from a button. Whenever I try to set the delegate with self.revealViewController().delegate = self it fails at runtime caused by a nil. In my class I basically do this:
The self.revealLeftView basically just call the revealLeftView on the PBRevealViewController. I got my main view set up with pb_main and the menu view with pb_left.
If I leave out the delegate setting the menu works fine, but I can't customize it. Should I place the delegate in the ViewDidAppear instead?
The text was updated successfully, but these errors were encountered: