title: uinavigationbar behind status bar
body: <p>To explain with screen dumps:</p>
  
  <p><img src="https://i.stack.imgur.com/pYRPW.png" alt="Before Modal"></p>
  
  <p>User presses the button which launches a 3rd party compiled ViewController. This third party ViewController takes over entire screen and hides the status bar. Once user finished with it, they go back to the first screen (above), which ends up looking as this:</p>
  
  <p><img src="https://i.stack.imgur.com/rSr5L.png" alt="AfterModal"></p>
  
  <p>So far I've tried this:</p>
  
  <pre><code>- (void)viewWillAppear:(BOOL)animated {
      self.view.frame = [[UIScreen mainScreen] applicationFrame];
      [self.view setNeedsLayout];
  }
  </code></pre>
  
  <p>But still I am unable to push down the initial UINavigationBar</p>
  
  <p>=======================</p>
  
  <p>Update:</p>
  
  <p>I have fixed it using following:</p>
  
  <pre><code>CGRect frame = self.navigationController.navigationBar.frame;
  frame.origin.y = 20;
  self.navigationController.navigationBar.frame = frame;
  </code></pre>
  
  <p>Would this work? Is Status bar always 20 height? I have tried reading status bar's height, but it returns 0...</p>