An iOS button in ellipse shape. And it's also a demonstration of creating irregular views.
Only areas within the ellipse can be clicked.
Copy the source code in the /EllipseButton folder into your project, then use it like UIButton
.
The number of annulus, and their colors and width could be customed.
[中文]
这是一个椭圆形态的iOS按钮。同时它也展示了创建不规则View的一种方式。只有圆内的区域可被点击。
拷贝EllipseButton目录下源代码到您的项目中,就可以像使用UIButton
那样使用它。
圆环的数目、颜色、宽度支持设置。
StepIndicator is released under the MIT license. See LICENSE for details.