Get CGPath total length

Viewed 6831

I have many UIBezierPath that I am animating with CALyerAnimation @"StrokeStart" and @"strokeEnd".

I wish that the animation will have the same speed for all the paths so I thougt I might use the length of the path in :

DISTANCE / TIME = SPEED

Is there a way to calculate the path "length" ?

Thanks

Shani

1 Answers
Related