How to create curved UIButton for iPhone applicati

2019-09-08 15:13发布

问题:

I want to create UIButtons which are curved. For demo look at this image.

I don't want to create the exact buttons, but they will have curve like this buttons. Is it possible to create such buttons in iOS?

Thank you.

回答1:

Have a look at OBShapedButton, its a UIButton subclass for non-rectangular shapes.