UIBezierPath *path = [UIBezierPath bezierPathWithArcCenter:point radius:60 startAngle:pi*2*percent1/100 endAngle:pi*2*percent2/100 clockwise:YES];
CAShapeLayer *shapeLayer = [CAShapeLayer layer];
shapeLayer.path = path.CGPath;
shapeLayer.strokeColor = color.CGColor;
shapeLayer.fillColor = [[UIColor clearColor] CGColor];
shapeLayer.lineWidth = 10;
[view.layer addSublayer:shapeLayer];
CABasicAnimation *pathAnimation = [CABasicAnimation animationWithKeyPath:@"strokeEnd"];
pathAnimation = [CABasicAnimation animationWithKeyPath:@"strokeEnd"];
pathAnimation.duration = 2.0;
pathAnimation.fromValue = [NSNumber numberWithFloat:0.0f];
pathAnimation.toValue = [NSNumber numberWithFloat:1.0f];
[shapeLayer addAnimation:pathAnimation forKey:@"strokeEnd"];