iPad UIColor Saturation Issues
Posted
by Carter Allen
on Stack Overflow
See other posts from Stack Overflow
or by Carter Allen
Published on 2010-06-11T23:33:12Z
Indexed on
2010/06/11
23:43 UTC
Read the original article
Hit count: 420
I am trying to draw a UIColor on the screen of a view-based app, and I am trying to do so using HSB. It is absolutely necessary for me to use HSB in this case. I can create a UIColor object with any S value from 0.0f to 0.75f, but past that the numerical changes have no effect on the actual saturation displayed. I need it to be 1.0f, but it is still using 0.75f. Any ideas on why it is doing that, and how I can make it work?
© Stack Overflow or respective owner