facebookarchive / pop

An extensible iOS and OS X animation library, useful for physics-based interactions.
Other
19.66k stars 2.88k forks source link

How do I know if the animation is executing, such as POPSpringAnimation #341

Closed gank0326 closed 7 years ago

gank0326 commented 7 years ago

Don't see the animating properties

grp commented 7 years ago

Generally, the best way is to check pop_animationForKey: on the object the animation was added to. If it's still there, it's running. Alternatively, you can use the POPAnimationDelegate callbacks to track it yourself.