swift change button text when pressed code example Example: swift change button text button.setTitle("Button Title",for: .normal)