Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix crash on [BeeUIStack stack] #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions framework/mvc/view/container/Bee_UIStack.m
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,11 @@ - (BeeUIStack *)initWithName:(NSString *)name andFirstBoard:(BeeUIBoard *)board
self.navigationBarHidden = YES;

[self initSelf];

self.viewControllers = [NSArray arrayWithObject:board];

if(board)
self.viewControllers = [NSArray arrayWithObject:board];
else
self.viewControllers = [NSArray array];
// board.view;
}
return self;
Expand Down