How to move a view along a curved path in iOS

Chandan Shetty SP picture Chandan Shetty SP · Apr 30, 2011 · Viewed 10.7k times · Source

How to animate/move the view in the curve path, is it possible to do using UIAnimation.enter image description here

Like moving a view in the path as in the image.

Answer

Julio Gorgé picture Julio Gorgé · Apr 30, 2011

You can do it using Core Animation and CAKeyFrameAnimation to define the curve points. See this tutorial: http://nachbaur.com/2011/01/07/core-animation-part-4/