Search code examples
iphoneobjective-cioscore-animationuianimation

How to move a view along a curved path in iOS


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.


Solution

  • 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/