UIButton - Creating a Pill / Capsule Shape
Creating a button with UIKit seems easy enough, right? We have all the properties inherited from UIButton() and creating a pill / capsule style button should be a matter of setting layer.cornerRadius to 50, right?!
WRONG
Unbeknownst to me, it was not...
susiechhuor.hashnode.dev2 min read