My build target is set for IOS5 which is where I understand UIButton.tintColor was introduced…
I have this in my viewDidLoad for the View Controller
[timelineButton setTintColor:[UIColor blackColor]];
[timelineButton setTitle:@"test" forState:UIControlStateNormal];
The text changes properly but the button isn’t black?
Thanks!
According to the documentation:
You need to switch your
buttonTypeto another one of these. (Unfortunately, the documentation does not specify which specific button types support this property.)