我想在我的项目中使用storyboard
来实现JASidePanels
。你可以在这里看到我的故事板。JASidepanels not displayed navigationbutton
的问题是,我没有看到在导航栏按钮显示leftpanel。在我的RootViewController中,我使用了代码。
-(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];
}
我遵循了他们在github page上说的步骤。 另外,当我尝试嵌入RootviewController
内navigationController
。它显示的是navigationBar,但不是barbutton item
。
对此有何帮助?
完美,作品像一个魅力! – CGR 2016-11-24 17:24:28