problem with adding tool bar to UITableView
- by chnet
I'm writing a Navigation-Based iPhone app, and I'd like to have a UIToolBar docked at the bottom of my screen, with a UITableView scrolling between the tool bar and the navigation bar.
I used [[self navigationController] setToolbarHidden:NO]
and - (void)setToolbarItems:(NSArray *)toolbarItems animated:(BOOL)animated
to set the UIToolBar.
UIToolBar correctly shows in current view. If I drill down into a detail view using the button on navigation bar, i cannot return back to previous view.
Before I add the tool bar, it can return back. I am wondering is there anything else should be noted when use UIToolbar?