Remove screenshot
HSB ColorPicker for SwiftUI
ColorPicker(color: self.color) { color in self.color = color }
ColorPicker is the view.
Pass an initial color to color argument and a closure typed (UIColor) -> () to onChange argument.
color
(UIColor) -> ()
onChange
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
CTColorPicker
HSB ColorPicker for SwiftUI
How to use
ColorPicker is the view.
Pass an initial color to
colorargument and a closure typed(UIColor) -> ()toonChangeargument.