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