Closed menico closed 10 years ago
Did you try self.revealVC.contentViewController = messagesVC;
(where self.revealVC
is your GHRevealViewController
)?
Yes I did:
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil];
UIViewController *vc = [storyboard instantiateViewControllerWithIdentifier:@"FindEventController"];
self.revealVC.contentViewController = vc;
And nothing is happening.
I have tried a few other things but I still can't find a solution do you have any idea?
It would be very helpful if someone could help me out on this one.
Cheers
Meni
Is your project available for me to look at?
I have tried it in the basic storyboard repository I have comitted the entire map here : https://github.com/menico/GHSidebarNav-Storyboard-4
Thanks again for your help
Im trying to have a button on a viewcontroller that will have the same behaviour as if I would tap in the navigation sidebar button, so let say you have a navigation item Messages and you have a button in your viewcontroller also Messages how can you get it working ? I tried to use "presentViewController" but than the (IBAction)revealSidebar button doesnt work :( can anyone help me with this issu I'm using the storyboard version.
Thank you guys for your help.