change button text color swift using ibdesinable code example Example: set color for uibutton programmatically swift button.setTitleColor(.red, for: .normal)