ios 简单实现半圆形仪表盘 (进度条)

效果图 初始化只需设置分数(0~1)即可 #import "ArcLineView.h" #define DEGREES_TO_RADIANS(angle) ((angle) / 180.0 * M_PI)//角都转弧度 #define ANGLE 20 //没份20度 共220度 @implementation ArcLineView - (void)drawRect:(CGRect)rect
相关文章
相关标签/搜索