RedditPP Mascot

RedditPP

r/swift • … • u/MamaessenKP

How do I change de Backgroundcolor of the Title Element of an NavigationView in SwiftUI?

I have an NavigationView with a grouped List. The Title of my NavigationView is large, but the Backgrroundcolor of the Title of the NavigationView is grey and not white. How can I change it so that the Background of "Settings" is white?

struct SettingsView: View {

var body: some View { NavigationView() { List { Section(header: Text("")) { NavigationLink(destination: Text("Test")) { Text("Test") } }

Section() { Text("Test") } } .listStyle(GroupedListStyle()) .navigationBarTitle(Text("Settings"), displayMode: .large) } } }

​

![img](tjsei7696vh31)

— 0