ok, here is the code for the issue:
in your appDelegate.m:
for (UIView *view in rootController.view.subviews) {
if([view isKindOfClass:[UITabBar class]]) {
view.hidden = YES;
break;
}
[view setFrame:CGRectMake(view.frame.origin.x, view.frame.origin.y, view.frame.size.width, 480)];
}
now, I have another question, I made the NavigationBar hidden in the welcome view successfully, then I click on the welcome view to the views with NavigationBar, but the NavigationBar never shows up! anyone can help on this is welcomed!
here is the flow of my app:
rootController <--- with a tabbarcontroller, in the controller, there are two Nibs, in the first Nib, there is a NavigationBar on it.
When the app starts, the rootController is first loaded, in the first Nib(SubViewController) it hides the NavigationBar and loads a StartUp View (subview controller), there is no NavigationBar on the StartUp view, then I click on the startUp view, the view removedFromSuperview, then the first NibView revealed without the NavigationBar shows up! And I want it to be shown on the first view.