I'm hiding tabbar when a particular View shows in landscape. It works fine but shows a white blank space below the view. Any idea how to fix this ?
Thx for helping,
Stephane
I'm hiding tabbar when a particular View shows in landscape. It works fine but shows a white blank space below the view. Any idea how to fix this ?
Thx for helping,
Stephane
Resize your current UIView:
[self.view setBackgroundColor:[UIColor greenColor]]; // Just for checking
[self.view setFrame:CGRectMake(0.0f, 0.0f, 320.0f, 480.0f)];
You should change the height at your convenience.
when you are pushing to other view,where you don't need the Tab bar just write it
twitDetObj=[[TwitDetail alloc] initWithNibName:@"TwitDetail" bundle:nil];
[self.navigationController pushViewController:twitDetObj animated:YES];
self.hidesBottomBarWhenPushed=YES;
[twitDetObj release];
This thread resolved the blank space issue after hours of research: hiding TabBar when rotating iPhone device to landscape