I have the following problem:
In my application there's two ways to navigate to others screens: by buttons or by a tab bar.
All screens have the tab bar that calls the other screens but the home screen is the one that have buttons but doesn't have tab bar.
When I start developing my app I choose the tab bar application template and it works fine if I calls the screens by pressing the tab. The problem begins when I work with the home screen:
- I need to "hide" the tab bar in this specific screen.
- In the home screen, if I call a new screen by buttons the tab bar disappear in the new screen (make sense because the screen is calling by a button and not by the tab bar).
To resolve this to I think that maybe I can create a custom tab bar (I don't know yet how) and call it on my screens like a UIControl, so in that way if I need to change the tab bar the modifications will be able on all screens that calls that control.
What do you recommend? It's a good idea to create a custom tab bar and use it like a UIControl? if yes, how can I create one?
I use this to call the windows
RecurringGiftListViewController *listViewController = [[RecurringGiftListViewController alloc] initWithNibName:@"RecurringGiftListViewController" bundle:nil];
listViewController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:listViewController animated:YES];
[listViewController release];