ios button rounded corners storyboard code example
Example 1: ios rounded button
button.layer.cornerRadius = button.frame.size.height / 2
// must be in the viewDidLoad func
Example 2: rounded ios button
buttonRound.layer.cornerRadius = buttonRound.frame.size.height / 2