My goal is to make my button look like this:
minus the black edges around the button.
After reading quite a few posts, I see most solutions saying to use
Swift 3
myButton.layer.cornerRadius = myButton.frame.height / 2
myButton.backgroundColor = UIColor.blue
myButton.clipsToBounds = true
myButton.tintColor = UIColor.white
myButton.setTitle("Connect With Facebook", for: .normal)
You Can do it like this (For Example if you button is called button):
button.layer.cornerRadius = button.bounds.size.height / 2.0