Closed nwoolls closed 11 years ago
Hi, I have fixed this problem and it is in this commit. https://github.com/kostassite/RSColorPicker/commit/dcd3db19fad9b5ab3894e08edb5165164f61f4fd I have made a pull request including adding of arc in the code. Thanks
self.colorPicker.selectionColor = [UIColor blackColor]; //selects green
it still exists and it fails on colors which are not displayed in color picker circle... it selects only those colors which come under the present brightness....
So, is there any solutions to these problem? It still cannot implement :
I'm not sure that @kostassite's solution actually fixes the underlying problem. I'll see if I can look at this a little more closely soon. Feel free to try his branch and let us know what you find!
I think this issue has now been fixed in #17.
The implementation for setSelectionColor seems hit-or-miss. For instance:
self.colorPicker.selectionColor = [UIColor blueColor]; //works self.colorPicker.selectionColor = [UIColor yellowColor]; //works self.colorPicker.selectionColor = [UIColor blackColor]; //selects green self.colorPicker.selectionColor = [UIColor redColor]; //crashes the app