In my app I am using UITabBarController. This is how it looks like in the IB:
TabBarController is used as a rootViewController of the window.
Here is my code where I fill the TabBarController with views:
tabBar = [[UITabBarController alloc]init];
myViewController1 = [[MyViewController1 alloc] initWithNibName:@"View1" bundle:nil];
myViewController2 = [[MyViewController2 alloc] initWithNibName:@"View2" bundle:nil];
myViewController3 = [[MyViewController3 alloc] initWithNibName:@"View3" bundle:nil];
tabBar.viewControllers = [NSArray arrayWithObjects: myViewController1, myViewController2, myViewController3, nil];
[self.view addSubview:tabBar.view];
If some view is shown inside the TabBarController, it is under TabBar (height of this view is red line) - so if I have some TableView, I can't see last one or two rows. How can I achieve to show views inside TabBarController (like green rectangle) - not under tab bar?
I thought that it could be done automatically that if I show something if I am using UITabBarController, it is shown inside not under.