So in the link below, I did what the best answer said and it worked except for one part. When I swipe back to a previous screen, the status bar will be all black, then when it completes the animation to go back, it finally takes on the color of the title bar. This never used to happen with iOS 14; the status bar would be the same color as the title bar... How do I get it back to the way it worked before?
https://developer.apple.com/forums/thread/682420
let appearance = UINavigationBarAppearance()
appearance.configureWithOpaqueBackground()
appearance.backgroundColor = <your tint color>
navigationBar.standardAppearance = appearance;
navigationBar.scrollEdgeAppearance = navigationBar.standardAppearance