DevTechie
Published in

DevTechie

Color Picker in SwiftUI

Photo by andrew jay on Unsplash

Color picker was introduced with the release of SwiftUI 2 and iOS 14. It’s a control used to select a color from the system color picker UI.

Color picker view has label and a circular button to show current color selection, as shown below. Here, “pick a color” is label for the picker view and button on right hand side of UI shows selected color.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store