Paste number 66360: tabbar not hiding

Paste number 66360: tabbar not hiding
Pasted by: jer
When:9 months, 4 weeks ago
Share:Tweet this! | http://paste.lisp.org/+1F7C
Channel:#iphonedev
Paste contents:
Raw Source | XML | Display As
// in the tab bar controller

- (void)hideTabBar
{
	tabBar.alpha = 0.0;
	tabBar.hidden = YES;
}

// in the view

- (void)tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
	[tableView deselectRowAtIndexPath:indexPath animated:NO];
	self.backupView = self.view;
	self.navigationController.hidesBottomBarWhenPushed = YES;
	[tabBarController hideTabBar];
	self.smileyLabel.adjustsFontSizeToFitWidth = YES;
	self.smileyLabel.font = [UIFont fontWithName:@"Trebuchet MS" size:((self.view.frame.size.height < self.view.frame.size.width) ? self.view.frame.size.height : self.view.frame.size.width)];
	self.smileyLabel.text = [[data objectAtIndex:indexPath.section] objectAtIndex:1];
	self.view = selectView;
	[self.navigationController popToViewController:self animated:NO];
}

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.