iOS技术

CAAnimation动画详解

2021-01-20  本文已影响0人  MiniCoder

在开发中我们少不了要用到动画,在常用的动画类中,一般我们会用到
CAAnimation
隐式动画与CATransaction
CAAnimation 动画的暂停和恢复

UIViewAnimationOptions
CAKeyframeAnimation
iOS 动画之弹性 Spring

CAAnimation provides the basic support for the CAMediaTiming and CAAction protocols. You do not create instance of CAAnimation: to animate Core Animation layers or SceneKit objects, create instances of the concrete subclasses CABasicAnimation, CAKeyframeAnimation, CAAnimationGroup, or CATransition.
翻译:
CAAnimation为CAMediaTiming和CAAction协议提供基本支持。您不创建CAAnimation的实例:要为Core Animation图层或SceneKit对象设置动画,请创建具体子类CABasicAnimation,CAKeyframeAnimation,CAAnimationGroup或CATransition的实例。

上一篇下一篇

猜你喜欢

热点阅读