sarperdag/SESpringBoard — Issue #2: toolbar not sticking
Author: justausername
Created: 2012-02-05 10:17:13+00:00
State: open

I noticed that some UI elements like the toolbar won't stick. Try adding one in the ChildViewController viewDidLoad method run the example and open up any view twice.

- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view from its nib.

UIBarButtonItem *buttonItemDoSomething = [[[ UIBarButtonItem alloc ] initWithTitle: @"DoSomething" style: UIBarButtonItemStyleBordered target:self action: @selector(onCreate:) ] autorelease];

NSArray *toolBarItems = [[[NSArray alloc] buttonItemDoSomething, nil] autorelease];

[self.navigationController setToolbarHidden:NO];

self.toolbarItems = [toolBarItems retain];
}