UIView animation along a round path?

前端 未结 3 1159
被撕碎了的回忆
被撕碎了的回忆 2020-12-15 14:05

I need to make my little guy (in a UIIamgeView) jump forward and it has to look natural. I want to know is there a way to do it with CoreAnimation (beginAnimation/commitAnim

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-15 14:50

    Create a CAKeyframeAnimation and assign a CGPath to its path property.

提交回复
热议问题