swift change button text code example
Example 1: swift change button text
button.setTitle("Button Title",for: .normal)
Example 2: swift change label text
self.simpleLabel.text = "message"
button.setTitle("Button Title",for: .normal)
self.simpleLabel.text = "message"