UIButton - Creating a Pill / Capsule Shape
Feb 5, 2023 · 2 min read · 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...
Join discussion

