uiTabBar inside details view of uiSplitViewController
Hi I am currently developing an app for the iPad and am having soem difficulties getting a tab bar inside the details view of the split view controller. I have followed the following post https://discussions.apple.com/thread/2099944?answerId=9913278022#9913278022&messageID=9913278�?message ID=9913278& and found it useful however I have the following issues.
When a tabItem is clicked my event fires just fine. I am attempting to add a new View via the following code.
if (tab1ViewController == nil) {
self.tab1ViewController = [[ImageControlleralloc] initWithNibName:@"ImageController"bundle:nil];
}
[self.viewinsertSubview:tab1ViewController.viewbelowSubview:detailsTabBar];
if (currentViewController != nil)
[currentViewController.viewremoveFromSuperview];
currentViewController = tab1ViewController;
This shows the view above my detailsTabBar but over the top of my toolbar (at the top of the screen). Is it possible to have it sit below the toolbar or even squish down below it?
Am I better off adding a UIView in between the tabBar and the toolbar and loading the views into that?
Message was edited by: mattgolding added the wrong link, fixed now