In iOS 7 there's a grey separator between the navigation bar and the view.
Back in iOS 6, there wasn't that horizontal line, thus the view would blend in with the navigation bar as if they were the same image. Now I don't know how to remove it...
I've tried resizing the view / navigation bar, but it doesn't help. Any ideas?
The other answers did not work for me. To remove the separator, I had to set the background image AND the shadow image, like so:
[[UINavigationBar appearance] setBackgroundImage:[[UIImage alloc] init] forBarMetrics:UIBarMetricsDefault];
[[UINavigationBar appearance] setShadowImage:[[UIImage alloc] init]];
Add this:
[[UINavigationBar appearance] setShadowImage:[[UIImage alloc] init]];
in your AppDelegate.m in the application didFinishLaunchingWithOptions method
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With