title: How to remove UINavigationBar inner shadow in iOS 7?
body: <p><a href="http://imageshack.us/photo/my-images/20/9hnx.png/">Inner shadow example</a></p>
  
  <p>I'm trying to put nav bar below the other one to make it look like one tall nav bar. But in iOS 7 UINavigationBar now has inner shadow on top and on bottom of it. I really need to remove it. But I didn't found any solution. It looks like the shadow is prerendered, but in fact it slowly appears in about 0.4 second after the view appears.</p>
  
  <p>I've tried almost everything but the shadow is still there. I removed the horizontal line below the bar with this code:</p>
  
  <pre><code>for (UIView *view in [[[self.navigationController.navigationBar subviews] objectAtIndex:0] subviews]) {
       if ([view isKindOfClass:[UIImageView class]]) view.hidden = YES;
  }
  </code></pre>
  
  <p>But I can't figure it out how to remove the shadow. Thanks a lot!</p>
  
  <p>I've tried this:</p>
  
  <pre><code>[self.navigationController.navigationBar setShadowImage:[[UIImage alloc] init]];
  </code></pre>
  
  <p>But that code doesn't even remove the horizontal line below the bar (this method needs custom background image). I use Xcode Version 5.0 (5A11365x)</p>