I confirm that IOS 15 and xcode 13.0
the problem is solved with:
if #available(iOS 13.0, *) {
let barAppearance = UINavigationBarAppearance()
barAppearance.backgroundColor = UIColor(named: "Arancione")!
navigationController?.navigationBar.standardAppearance = barAppearance
navigationController?.navigationBar.scrollEdgeAppearance = barAppearance
} else {
// Fallback on earlier versions
}
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: