Our designer wants the navigation bar to have the same background color as the view's. However, they also want the navigation bar to remain translucent.
Obviously if I set it to non-translucent it works a treat:
[[UINavigationBar appearance] setTranslucent:NO];
But that is not the desired effect. Is there a way I can make them the same color without spending hours tweaking the background color of the navigation bar?
This is what it looks like when we set the navigation and view to the same color:
Just set empty image for background and shadow:
Use this code hope it works
I thinks the following piece of code would help you to achieve this.
you can also use color from RGB code or from hex.