Try using instead - (void)setTitleColor:(UIColor *)color forState:(UIControlState)state:
[myButton setTitleColor:[UIColor orangeColor] forState:UIControlStateNormal];
The problem here is that the UIButton titleLabel is read only, although its properties are not. That is why your seemingly correct code does not work.
source
share