tags:

views:

43

answers:

1

here I continue my question, I do have an app structure like this:

http://www.youtube.com/user/jamesshaw95#p/f/4/LBnPfAtswgw

and I want to add a startupview displays for 3 seconds at the app starts then disappear, then user will see the content.

but I am not able to remove the tabbar at the startupview, I want the startupview be a 320*480 picture which showing for 3 seconds then disappear, any help is highly appreciated!

A: 

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.

Georg