【发布时间】:2014-04-15 10:29:46
【问题描述】:
在玩了很多 iOS 7 中引入的 UIView 动态动画之后,最值得注意的是:
[UIView animateWithDuration: delay: usingSpringWithDamping: initialSpringVelocity: options: animations: completion:];
我想知道在创建CALayer 动画时是否可以直接访问等效于“SpringWithDamping/Velocity”的方法? IE。通过CATransaction、CABasicAnimation 或其他方式...
谢谢
【问题讨论】:
-
在下面查看我的答案 - iOS9 中有一个新类可以做到这一点
标签: ios objective-c animation uiview calayer