Answers for "change button image swift"

2

swift change button text

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

swift 5 btn change image

button.setImage( UIImage( systemName: "person" ), for: .normal )
Posted by: Guest on April-20-2021
0

replace back button image swift

let yourBackImage = UIImage(named: "back_button_image")
self.navigationController?.navigationBar.backIndicatorImage = yourBackImage
self.navigationController?.navigationBar.backIndicatorTransitionMaskImage = yourBackImage
self.navigationController?.navigationBar.backItem?.title = "Custom"
Posted by: Guest on August-31-2021

Code answers related to "change button image swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language