jeudi 4 décembre 2014

UIButton textColor for UIControlStateHighlighted in iOS8 issue

I always set the color of highlighted UIButton with:



[button setTitleColor:[UIColor greenColor] forState:UIControlStateHighlighted];


But in iOS8 it doesn't work for me (and setting the color in storyboard doesn't work too).


But this code works fine for iOS7.




Aucun commentaire:

Enregistrer un commentaire