title: view visible behind navigationbar
body: <p>I have changed the default background image of my navigation bar like this:</p>
  
  <pre><code>[[UINavigationBar appearance] setBackgroundImage:[UIImage imageNamed: @"titlebarbg_square.png"] forBarMetrics:UIBarMetricsDefault];
  </code></pre>
  
  <p><strong>Why can I now see the background view above my navigationbar?</strong></p>
  
  <p>It might not be clear in the image below, but look above the navigation bar and you can see the red background.</p>
  
  <p><img src="https://i.stack.imgur.com/Dm6Hy.png" alt="enter image description here"></p>