I recently came across a situation where it was useful to have a UITabBar based application, however the actual tab bar was an unnecessary item on the screen. This post is a mini tutorial on how to make this happen.
Inside “application:didFinishLaunchingWithOptions:” method:
tabBarController = [[UITabBarController alloc] init];
tabBarController.viewControllers = [NSArray arrayWithObjects:navController1, viewController1, viewController2, nil];
[window addSubview:tabBarController.view];
[self makeTabBarHidden:TRUE];
Here is the “makeTabBarHidden” method:
-(void)makeTabBarHidden:(BOOL)hide {
// Custom code to hide TabBar
if ( [tabBarController.view.subviews count] < 2 ) {
return;
}
UIView *contentView;
if ( [[tabBarController.view.subviews objectAtIndex:0] isKindOfClass:[UITabBar class]] ) {
contentView = [tabBarController.view.subviews objectAtIndex:1];
} else {
contentView = [tabBarController.view.subviews objectAtIndex:0];
}
if (hide) {
contentView.frame = tabBarController.view.bounds;
}
else {
contentView.frame = CGRectMake(tabBarController.view.bounds.origin.x,
tabBarController.view.bounds.origin.y,
tabBarController.view.bounds.size.width,
tabBarController.view.bounds.size.height - tabBarController.tabBar.frame.size.height);
}
tabBarController.tabBar.hidden = hide;
}
And you are probably wondering how to change the views that are normally controlled by the tab bar? Here is the answer…just simply change the selectedIndex property of the tab bar.
tabBarController.selectedIndex = 1;
Part of this code came from a post I found on iPhoneDevSDK.com, so I took it one step further and made it a complete solution.



On a recent visit to my parent’s house, I was speaking with my brother who received an iPod nano for Christmas about 2 years ago. He was telling me about his new iPod video when my curiosity got the best of me and asked him about the nano. He said the screen was busted so he got the new one. I looked at it and decided that I could replace the screen easily and asked him if I could have the busted nano. He obliged and gave me the nano. I ordered the screen off of ebay for $18.85 USD to include shipping, and replaced the screen. If you would like a video of what I did to take the iPod nano apart 

