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. Like moving a view in the path as in the image. 回答1: 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/ 回答2: Above one can be achived by:- i)CAKeyframeAnimation ii)Create Curve Path iii)Animate layer of Custom View import UIKit import CoreGraphics class ViewController: UIViewController { var