我想在我的項目中使用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