Please look at the screenshot below.
I set all the tint colors from the same UIColor object for the UINavigationBar, search bar and toolbar at the bottom. But for so
I've tried every solution, mentioned in the answers here. But nothing solved it completly. I found this:
First of all you have to have to select the navigationbar and disable the Translucent Checkbox. It's right at the top.
After this is done. The BackgroundColor is still wrong. So don't set the BackgroundColor, set the TintColor of the NavBar. You can do this on the same way like the Translucent. The possibility to set the TintColor is 2 elements under the Translucent Checkbox.
Or you set it using swift or objC:
self.navigationController?.navigationBar.isTranslucent = false
navBar.barTintColor = UIColor.CustomColor.colorPrimary