-(void)viewWillAppear:(BOOL)animated
{
[UIView setAnimationDuration:0.0];
[UIView beginAnimations:nil context:NULL];
for(UIView *view in self.view.subviews)
{
if([view isKindOfClass:[UITabBar class]])
{
NSLog(@"%@", view);
view.hidden = YES;
} else {
[view setFrame:CGRectMake(view.frame.origin.x, view.frame.origin.y, view.frame.size.width, 1024)];
}
}
[UIView commitAnimations];
}