title: iPhone - App with tab bar controller - showing gap at top
body: <p>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 
  <code>[self presentViewController:myViewController animated:YES]</code>
  This is how its being shown.</p>
  
  <p><img src="https://i.stack.imgur.com/2r53j.png" alt="Screen shot"></p>
  
  <p>In myViewController's viewDidLoad, I'm adding tab bar as follows:</p>
  
  <pre><code>- (void)viewDidLoad {
      [super viewDidLoad];
      [self.view addSubview:self.tabBarController.view];  
  }
  </code></pre>
  
  <p>Why is the gap seen above nav bar and below status bar. Due to that gap, tab bar at the bottom is being cut.......</p>