我正在尝试创建一个用计时器更新的循环进度View。我正在尝试获得4个不同颜色的部分。我已经设法用一种颜色更新圆圈,但我无法弄清楚如何将它分成4个四分之一圆圈。@implementationCircularProgressBar-(void)drawRect:(CGRect)rect{UIBezierPath*bezierPath=[UIBezierPathbezierPath];//Createourarc,withthecorrectangles[bezierPathaddArcWithCenter:CGPointMake(160,180)radius:120startAngle:0