I am trying to create a button with an icon in the center. The top and bottom part of the circle are a little flat. Is there a way to do this without using corner radius? Here i
By using cornerRadius along with inset you can get the rounded shape:
cornerRadius
inset