I'm using ColorPicker. I have a problem with the size of the Wheel. I want it bigger. I'm using Xcode 12.1. Hope that someone can help me. Thank you.
These is my code:
struct SwiftUIView: View {
@State private var bgColor = Color.blue
var body: some View {
ColorPicker("Set the background color", selection: $bgColor)
.frame(maxWidth: .infinity, maxHeight: .infinity)
.background(bgColor)
}
}
You can scale the color wheel with a scaleEffect
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With