SpringWithDamping for CALayer animations?

后端 未结 4 677
独厮守ぢ
独厮守ぢ 2021-02-05 04:00

After playing around a lot with the UIView dynamic animations introduced in iOS 7, most notably:

[UIView animateWithDuration: delay: usingSpringWi         


        
4条回答
  •  走了就别回头了
    2021-02-05 04:23

    There is (and have been for a while) a private class called CASpringAnimation that I'm pretty sure is being used behind it all (but I haven't verified it). Unfortunately, it is still private.

提交回复
热议问题