Quote:
Originally Posted by losingSkillz
never mind guys, i think i figured it out:
this:
Code:
[myButton setTitleColor:[UIColor colorWithRed:100.0 green:100.0 blue:100 alpha:1.0] forState: UIControlStateNormal];
should be this:
Code:
[myButton setTitleColor:[UIColor colorWithRed:100/255 green:100/255 blue:100/255 alpha:1.0] forState: UIControlStateNormal];
|
I have been trying to get the values for Bubblegum to work for a button. This code you posted should work but it doesn't react as expected to the value given for it on
List of colors - Wikipedia, the free encyclopedia.
It just appears as white just wondering if you know off hand why it may not be working.