Unable to hide TabBar on sub view in iphone
Posted
by iPhoneDev
on Stack Overflow
See other posts from Stack Overflow
or by iPhoneDev
Published on 2010-06-03T04:38:45Z
Indexed on
2010/06/03
4:44 UTC
Read the original article
Hit count: 787
iphone
Hello Everyone,
My app flow requires Navigation and TabBar controller. So I decided to use TabBar template. Since my first page is login which do not require TabBar, I used presentModelViewController to show Login screen which have Navigation bar if user Navigate to Forgot password.
LoginView *rootView = [[[LoginView alloc] init] autorelease];
navigationController= [[[UINavigationController alloc] initWithRootViewController:rootView] autorelease];
[tabBarController presentModalViewController:navigationController animated:FALSE];
Ones the user login I dismiss view controller and show TabBar with 5 Tab and Each Tab contain TabaleView. User select any row and navigate to sub view.
The issue is, on sub view I dont need tab bar. (TabBar is needed ONLY on dashboard). If I hide tabBar a white space remain there. Is there any workaround to solve this issue?
Please find the screen shot
Firt Screen ( presentModelViewController):
Second Screen:
Issue on sub view:
© Stack Overflow or respective owner