Reputation: 5078
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
Upvotes: 0
Views: 1217
Reputation: 490
This thread resolved the blank space issue after hours of research: hiding TabBar when rotating iPhone device to landscape
Upvotes: 0
Reputation: 242
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];
Upvotes: 1
Reputation: 4180
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.
Upvotes: 2