How to chain different CAAnimation in an iOS application

前端 未结 5 2192
逝去的感伤
逝去的感伤 2020-12-05 01:10

I need to chain animations, CABasicAnimation or CAAnimationGroup but I don\'t know how to do it, the only that I do is that all the animation execute at the same time for th

5条回答
  •  囚心锁ツ
    2020-12-05 01:33

    Either David's approach or the beginTime property are ok for chaining animations. See http://wangling.me/2011/06/time-warp-in-animation.html - it clarifies the use of beginTime and other CAMediaTiming protocol properties.

提交回复
热议问题