I have UIViewController
and UITabBarController
.
UIViewController
contain 5 buttons and UITabBarController
has 5 Tabs.
I suggest you to take a one Navigation Controller as a parent.
Then, add your Startup View as a root view of it.
On your main view controller page,
- (void)viewWillAppear:(BOOL)animated
{
self.navigationController.navigationBarHidden = NO;
}
So, it will hide your main navigation. So no need to worry for this internal navigation flow.
And for internal navigation, you have already taken different navigation controllers.
By using code:
[self.parentViewController.navigationController popToRootViewControllerAnimated:YES];
you'll be at root of the application and it will poped out all view controller which were stacked in application.
Hopefully, you'll understand flow & will apply if you feel good.
Enjoy Coding.
Thanks.