views:

38

answers:

0

Hey, I made a NavigationBased App ... and I want to add an Item to the toolbar of a Subview. When I click on the Cell of my TableView, the next View is pushed in and my "About" Button shows up for about 1/10 second, then it disapperars.

I tried:

UIBarButtonItem *infoItem = [[UIBarButtonItem alloc] initWithTitle:@"About" style:UIBarButtonItemStyleBordered target:self action:@selector(add_clicked:)];
NSArray *items = [NSArray arrayWithObjects: infoItem, nil];
[self.navigationController.toolbar setItems:items animated:YES];

Shouldn't be to hard to fix it, but I weren't able to find a solution :(.

Thx! Sebastian