Oddly shaped buttons

时间:2016-02-03 03:52:27

标签: swift swift2

How can I set an image as a button but have the boundaries of the image be the boundaries of the button as well? i.e. a trapezoid that appears on the users screen but the user can only click within the trapezoid. I know this exists in Objective C as OBShapedButton but I would like to do the same using swift. Thanks so much

0 个答案:

没有答案