How to Change NavigationView Colour in SwiftUI
iOS 16 From iOS 16 we can use .toolbarBackground for the NavigationBar / NavigationView Color. Don’t forget to add .toolbarBackground(.visible, for: .navigationBar). You can also set title color of Navigation Item by using ToolbarItem iOS 13 Solution By setting up the UINavigationBarAppearance we can change the Navigation bar Color. But remember it will affect globally.
How to Change NavigationView Colour in SwiftUI Read More »