如何创建循环UIButton?
答
可以使用OBShapedButton,https://github.com/ole/OBShapedButton
OBShapedButton是一个UIButton子类非矩形按钮的形状进行了优化。 OBShapedButton的实例仅对分配给UIControlStateNormal按钮的图像不透明的区域作出响应。
答
你可以设置一个圆形的背景图像,一个近乎圆形的UIButton。没有人会注意到差异。