In my app I have multiple view controllers, and most have a right-hand-side UIBarButtonItem with direct \"show\" segue actions attached.
UIBarButtonItem
Having segued t
I solved it like this:
override func viewWillDisappear(_ animated: Bool) { navigationController?.navigationBar.tintAdjustmentMode = .normal navigationController?.navigationBar.tintAdjustmentMode = .automatic }
so it will restore the color before the other view appear