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