I call
self.navigationController?.navigationBar.setBackgroundImage(UIImage(), for: UIBarMetrics.default)
self.navigationController?.navigationBar.shadowImage = UIImage()
in viewDidLoad.
The separator line below the navigation bar disappears fine. The problem is, the status bar turns white. I want it to stay the same color as the navigation bar.
if just
self.navigationController?.navigationBar.shadowImage = UIImage()
in viewDidLoad, looks like this:
below the nav bar I have a view the exact same colour as the nav bar. I want this blended into one so it looks like the view below the nav bar is part of the nav bar.