Posts

Post not yet marked as solved
4 Replies
Update: this seems to have been a problem in Xocde 11.4 and is said to have been resolved in Xcode 11.4.1:Quote from Xcode 11.4.1 Release Notes:> Interface Builder> Fixed an issue that caused some UINavigationBar appearance properties set in storyboard and XIB documents to be ignored when building with Xcode 11.4. (60883063) (FB7639654)However - the problem I described above does not seem to have been resolved for me!
Post not yet marked as solved
4 Replies
I had seen that, and the second link. Unfortunately they do not give me a solution to my problem.To go into what I've tried in more detail:If I set the navigation bar tint color to default in the storyboard, and then set the barTintColor of the navigation bar to the desired color in viewDidLoad, with:navigationController?.navigationBar.barTintColor = .yellow...this does work for a regular title, but does not work for a large title. (the background does not change color)If instead I go with an even more hacky solution of changing the backgroundColor of the navigation bar to the desired color in viewDidLoad, with:navigationController?.navigationBar.backgroundColor = .yellow...with large titles, this does not affect the color of the status bar. With regular titles, the navigation bar has a strange gradient effect.Does anyone know if this is an undocumented bug in the current version of Xcode which will be ironed out in the next version or whether we do need to find some sort of hacky solution to this strange problem?
Post marked as solved
2 Replies
That's great info to know, thanks for that ethanfan.