How would I go about setting the background of the view with a button?
I would assume you would do something along the lines of
struct ContentView: View { var body: some View { Button( action: { self.foregroundColor(Color.red) } ) { Text("Change Color") } } } But no matter what way I write it, it never works
Any help is appreciated