Home > AI > IOS > SwiftUI >

(View)ColorPicker

struct ContentView: View {
    @State private var bgColor =
            Color(.sRGB, red: 0.98, green: 0.9, blue: 0.2)

    var body: some View {
        VStack {
            ColorPicker("Alignment Guides", selection: $bgColor)
        }
    }
}

Leave a Reply