Answers for "how to change the corner radius of a button swift"

3

add buton border swift

button.layer.borderWidth = 1
button.layer.borderColor = UIColor.black.cgColor
Posted by: Guest on April-26-2020
0

ios rounded button

button.layer.cornerRadius = button.frame.size.height / 2
// must be in the viewDidLoad func
Posted by: Guest on April-11-2020

Code answers related to "how to change the corner radius of a button swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language