Your application is based on idea of lists, where you can navigate deeper into sublists and then back again. There is a common set of actions, which you want to launch from toolbar at the bottom of each screen.
Sounds easy, except you need to define the toolbar separately for each UIViewController while navigating deeper into lists. That should be easier, right? Try this:
Showing posts with label UINavigationController. Show all posts
Showing posts with label UINavigationController. Show all posts
Monday, March 14, 2011
How to Copy Current Toolbar to Next NavigationController
Labels:
addObserver,
initWithNibName,
NSNotificationCenter,
postNotificationName,
pushViewController,
UINavigationController,
UIToolbar
Tuesday, September 21, 2010
How to Hide UITabBar
Sometimes you need to show a single stand-alone UIView without letting user change tabs. For example there is a list, where you provide an info view using a disclosure accessory button. The question is then: how to hide UITabBar:
- (void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPathPretty simple, when you find the right location to add right line(s) of code.
{
InfoViewController *info = [[InfoViewController alloc] init];
info.hidesBottomBarWhenPushed = YES;
[self.navigationController pushViewController:info animated:YES];
[info release];
}
Subscribe to:
Posts (Atom)