Okay I am working on a group project and what we are trying to do is create a "Results Screen" which has It's Own UINavigation and contains two TabBars in it. We are trying push that ontop of an existing UINavigation. Right now at the moment of this code. We have our main App Delegate and in it we instantiate a beginning navigation and tabbar.
startTabBarController.viewControllers=[NSArray arrayWithObjects:templatesVC,recentJobsVC,profileVC,aboutVC,nil];
startTabBarController.navigationItem.titleView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"D2P_Logo2.png"]];
startTabBarController.navigationItem.titleView.backgroundColor = [UIColor clearColor];
UIBarButtonItem *tempRightBarButton = [[UIBarButtonItem alloc] initWithTitle:@"New"
style:UIBarButtonItemStylePlain
target:self
action:@selector(makeJob)];
[startTabBarController.navigationItem setRightBarButtonItem:tempRightBarButton];
[mainNavBar pushViewController:startTabBarController animated:NO];
[window addSubview:mainNavBar.view];
Now what we want to do is add another Tab Bar on top with a segmented navigation controller and a tab bar controller.
At the moment were are trying a UIViewController without a xib to do this. I've tried various methods but all that has come up is a blank screen.
In Terms of Layout of what we have we have a Navigation Controller and on it's stack is a UITabBarController -> UITableViewController -> UITableViewController and we want to add on top of that a UIViewController with a UINavigationController and UITabBarController in that.
Any Advice would greaty be appreciated. Thanks in Advance.