Color-Picker-for-iOS
Color-Picker-for-iOS copied to clipboard
How to use only Circle Color Picker?
Your Color Picker is very easy to use to compare others. But I want to use only circle colour picker, I have a UIView in that view I want to display this circle Color Picker in centre with out slider (beside the circle color picker). Is it possible? If yes please guide me.
In ColorPicker class I tried to hide addSubview(brightnessSlider) and addSubview(colorMapCursor) in private func setup() . But it is not working.
For example see my image, I want total view like this... Here I wan to remove slider completely and adjust the color circle in to centre of the view (OR) at least hide slider and adjust the color circle in to centre of the screen.
And how to stop continuous reading values from ColorPicker? Which means I want to call this handleColorChanged function only one time that is last value. Because of I want to call one more function in to this.
Thank you.

You wont be able to edit the source code as you've probably imported this framework as a Pod. So just commenting the addSubview
wont work.
I just submitted a pull request to hide the brightness slider, feel free to add a comment or a 👍 to it.
About stopping reading the value change, I guess you can either just set the isUserInteractionEnabled
to false
or juste remove the target.