iOS 隐藏自定义tabbar
-(void)viewWillAppear:(BOOL)animated
{ NSArray *array=self.tabBarController.view.subviews; UIView *view=array[]; view.frame=CGRectMake(, [UIScreen mainScreen ].bounds.size.height, [UIScreen mainScreen ].bounds.size.width, ); [UIView commitAnimations]; } - (void)viewWillDisappear:(BOOL)animated
{ NSArray *array=self.tabBarController.view.subviews; UIView *view=array[]; view.frame=CGRectMake(, [UIScreen mainScreen ].bounds.size.height-, [UIScreen mainScreen ].bounds.size.width, ); [UIView commitAnimations];
}