Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // what I DON'T want, rounded corners
- myButton.layer.cornerRadius = myButton.frame.height / 2
- sampleButton.layer.cornerRadius = 15
- sampleButton.clipsToBounds = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement