title: How to shift navigation bar position on the screen
body: <p>I have added the following code in my app delegate to create a section below the status bar (as seen in the screenshot after the code)</p>
  
  <pre><code>UIWindow *statusWindow = [[UIWindow alloc] initWithFrame:CGRectMake(0, 20, 320, 20)];
  statusWindow.windowLevel = UIWindowLevelStatusBar;
  statusWindow.hidden = NO;
  statusWindow.backgroundColor = [UIColor colorWithWhite:0.0 alpha:0.7];
  [statusWindow makeKeyAndVisible];
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/14eZS.png" alt="enter image description here"></p>
  
  <p>How can I shift the navigation bar downwards so that the black overlay does not overlap with the navigation bar? Essentially, I would like to achieve an effect like that in the screenshot below:</p>
  
  <p><img src="https://i.stack.imgur.com/Q8wl0.png" alt="enter image description here"></p>
  
  <p>Any advise or resources on this will be greatly appreciated.</p>