title: Custom UINavigationBar not work
body: <p>how to create uinavigationbar as image in iOS , 
  <a href="http://i.stack.imgur.com/253QR.png" rel="nofollow">http://i.stack.imgur.com/253QR.png</a></p>
  
  <p>I tried  </p>
  
  <pre><code>UIImage *navBackgroundImage = [UIImage imageNamed:@"Navi.png"];
  [[UINavigationBar appearance] setBackgroundImage:navBackgroundImage forBarMetrics:UIBarMetricsDefault];
  </code></pre>