Answers for "setting text of a button swift"

2

swift change button text

button.setTitle("Button Title",for: .normal)
Posted by: Guest on March-20-2020
1

How to set back button text in Swift

let backButton = UIBarButtonItem()

backButton.title = "name"

self.navigationController?.navigationBar.topItem?.backBarButtonItem = backButton
Posted by: Guest on December-18-2019

Code answers related to "setting text of a button swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language