I am trying to implement the JASidePanels
in my project using storyboard
. You can see my storyboard over here.
The problem is that I don't see the button in the navigationbar to reveal the leftpanel. In my RootViewController I've this in code.
-(void) awakeFromNib
{
[self setLeftPanel:[self.storyboard instantiateViewControllerWithIdentifier:@"leftViewController"]];
[self setCenterPanel:[self.storyboard instantiateViewControllerWithIdentifier:@"centerViewController"]];
[self setRightPanel:[self.storyboard instantiateViewControllerWithIdentifier:@"rightViewController"]];
self.shouldResizeLeftPanel = YES;
self.shouldResizeRightPanel = YES;
[self setRightFixedWidth:300.0f];
[self setLeftFixedWidth:300.0f];
}
I've followed the steps that they say on the github page.
Also when I try to embed the RootviewController
inside a navigationController
. It is showing the navigationBar but not the barbutton item
.
Any help on this ?