Answers for "add corner radius to 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

round courners of uibutton

yourButton.layer.cornerRadius = 10; // this value vary as per your desire
    yourButton.clipsToBounds = YES;
Posted by: Guest on September-18-2020

Code answers related to "add corner radius to button swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language