How can I chage the text color for large titles? I want it to be white.
I tried to set the titleTextAttributes like this:
self.navigationController?.navigationBar.prefersLargeTitles = true
self.navigationController?.navigationBar.titleTextAttributes = [
NSAttributedStringKey.foregroundColor.rawValue: UIColor.white
]
But the text only turns up white when I scroll and it is displayed in the middle as usual.