mardi 21 avril 2015

Creating an irregular UIButton in Swift where transparent parts are not tappable

Vote count: 0

I am making a pie chart where each sector is a separate button with a background image, but UIButton has a rectangular shape and all the buttons overlap. Is there a way to make a UIButton the exact shape of an irregular image (in Swift) so this does not happen?

Any help would be appreciated

asked 1 min ago



Creating an irregular UIButton in Swift where transparent parts are not tappable

Aucun commentaire:

Enregistrer un commentaire