Hi!
I am trying to Enable and disable a button. I know this code and it works
Code:
myButton.enabled = NO;
My problem is that when I do that it shows no change. I want the text to darken or turn grey and when I enable it, it turns to the regular color.
This is my code so far for reenabling it.
Code:
myButton.enabled = YES;
[myButton setTitleColor:[UIColor blueColor] forState:UIControlStateNormal];
This works with no errors, but the color is a brighter blue then what is normally there.
Can anyone help?