Lottie-ios: Stop animation

Created on 10 Jun 2017  路  2Comments  路  Source: airbnb/lottie-ios

I may be missing something, but how do you stop and animation once it starts?

Most helpful comment

How do I reset the animation to it's initial state after animationView?.pause().

All 2 comments

Call .pause on the LOTAnimationView object.

animationView?.pause()

How do I reset the animation to it's initial state after animationView?.pause().

Was this page helpful?
0 / 5 - 0 ratings

Related issues

petoye picture petoye  路  3Comments

chrisballinger picture chrisballinger  路  4Comments

ricardohochman picture ricardohochman  路  4Comments

JALsnipe picture JALsnipe  路  4Comments

rajeshbeats picture rajeshbeats  路  3Comments