Making a gradient arc?
i wanna make an arc with the use of CAGradientLayer in such a way:- 20% of the arc have same single color then other 80% of arc has a gradient of two colors. I already tried by hand on locations startPoint endPoint property of CAGradientLayer but couldn't get the success and already go through from tutorials but somehow couldn't understand the concept properly.please solve my problem with clear description of it. // for beizier path - (UIBezierPath *)samplePath { UIBezierPath *path = [UIBezierPath bezierPath]; path = [UIBezierPath bezierPath]; [path addArcWithCenter:CGPointMake(200, 200)