I need to change the color of my button\'s text. I also need to change the state to Disabled after the user presses it.
I have no idea how to do this. I\'ve been loo
Swift 3
button.setTitleColor(UIColor.gray, for: UIControlState.normal)
Note that;
You have to set the text colour for the specific button state.