Try this:
if ([[sender titleColorForState:UIControlStateNormal] isEqual:[UIColor redColor]])
{
// do something
}
This is how you compare objects in objective-c, as objects are pointers and you can't compare pointers with ==
. I'd advise you to look into this