Post

Replies

Boosts

Views

Activity

SwiftUI Color Picker default options or limit to only certain selections?
I'd really like to be able to customize the color picker or limit its scale. For my app I really only want a few choices. The color picker is a nice utility but I would really like to limit my users to a set of options. Is there a way to set a default selection of Color options? Is there a way to limit the SwiftUI ColorPicker to only a certain set of colors? Is there a way to not show all 3 categories? ie, only Spectrum or only Sliders?
1
1
977
Jul ’20