xcode 12 make a round button code example
Example: xcode 12 make a round button
button.layer.cornerRadius = 10.0
or
button.layer.cornerRadius = button.frame.height / 2
button.layer.cornerRadius = 10.0
or
button.layer.cornerRadius = button.frame.height / 2