Try a workaround: if you do not plan to switch between controllers, it should work fine.
The idea is to increase the size of your tablet panel controller, so that the tab (which is at the bottom of the screen) exits the screen and restores the size of the view when you hide the view.
In your view, the controller that should hide the tab bar will determine the following methods:
-(void)viewWillAppear:(BOOL)animated{ [super viewWillAppear:animated]; CGRect r = self.tabBarController.view.frame; r.size.height +=self.tabBarController.tabbar.frame.size.height; self.tabBarController.view.frame = r; } -(void)viewWillDisappear:(BOOL)animated{ [super viewWillDisappear:animated]; self.tabBarController.view.frame = CGRectMake(0, 0, 320, 480);
You need to make sure that in your application the window and window control panel delegate is defined and correctly connected with XIB
@property (nonatomic, retain) IBOutlet UIWindow *window; @property (nonatomic, retain) IBOutlet UITabBarController *tabBarController;
user309122
source share