- (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];
}
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:
Subscribe to:
Post Comments (Atom)
It's useful for me, thanks for your share.
ReplyDeleteThanks, this is just what I needed. There are so many one-liners with this development platform....
ReplyDelete