I’m having a login view that accepts username and password. Upon successful authentication, i’ll present a view controller that has tab bar view (IBOutlet) with 3 tabs. Each tab bar view controller has navigation controller (but no table view in any of the view controllers). Usign xib, i added tab bar controller object, then added navigation controllers under tab bar tree and added view controllers accordingly to the 3 navigation controllers.
Upon successful authentication, i’m calling
[self presentViewController:myViewController animated:YES]
This is how its being shown.

In myViewController’s viewDidLoad, I’m adding tab bar as follows:
- (void)viewDidLoad {
[super viewDidLoad];
[self.view addSubview:self.tabBarController.view];
}
Why is the gap seen above nav bar and below status bar. Due to that gap, tab bar at the bottom is being cut…….
It is a common problem, the tabBarController and also other Controller have by default the statusbar in its frame cordinates to resolve this, just set the bounds of your view to the frame of the tabBarController view.