My root view controller consists of a Tab Bar at the bottom of the screen, and a UIView above it for the remainder of the screen.
I'd like to put the Tab Bar inside a slide tab view in order to give more screen real estate to the UIView above the Tab Bar.
On viewDidLoad, I'm removing my tab bar from the bottom of the screen (because it's in my xib) and instead placing it inside a slide tab bar, but as you can see from the attached photo from "Reveal" the slide tab bar is hidden behind my tab bar.
In viewDidLoad, I'm doing the following...
-(void)viewDidLoad
{
[super viewDidLoad];
slideTabView.frame = [self slideTabBarFrameForCurrentOrientation];
// Place tab bar inside slide tab view.
[tabBar removeFromSuperview];
[self.view addSubview:slideTabView];
slideTabItem = [IGSlideTabItem tabWithLocation:IGSlideTabLocationBottom title:@"Tabs" tabView:nil contentView:tabBar];
[slideTabView addTab:slideTabItem];
// [slideTabView addSubview:tabBar];
[self.view bringSubviewToFront:slideTabView];
theRootmostView = self.view;
tabBar.delegate = self;
tabBar.selectionIndicatorImage = [UIImage imageNamed:@"TabSelected"];
}
Given that your other post has the tab shown above the tab bar and you've worked out how the IGSlideTabView works, is this post still an issue you need to solve?
No, it's fixed now.
THanks