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