Reputation: 2484
I'm trying to add some animation in my app. I would like to show a circle when I tap a button.
I don't really know what could be the best way to do that.
Do I have to create on the storyboard a view with a background, and I add corner radius and use the isHidden
property ?
Do I have to create the circle programmatically ? Maybe better because I have many buttons ?
Upvotes: 1
Views: 331
Reputation: 4959
BEST WAY:
DEMO
1. Assets Used
Default State
of UIButton
Highlighted State
of UIButton
Upvotes: 3