Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. // what I DON'T want, rounded corners
  2. myButton.layer.cornerRadius = myButton.frame.height / 2
  3.  
  4. sampleButton.layer.cornerRadius = 15
  5. sampleButton.clipsToBounds = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement