-
-
Save sturdysturge/e876fd9acd3263dc6bcb4e1718c4490d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
struct ContentView: View { | |
@State var colour: Color = .clear | |
var body: some View { | |
List { | |
ColorPicker("Background", selection: $colour) | |
} | |
.scrollContentBackground(colour) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment