isRunning
Returns true if the dynamic animator is running.
Declaration
var isRunning: Bool { get }Discussion
The views associated with an animator’s behaviors can change position or change transform only when the animator is running. For optimization purposes, iOS can pause and then restart an animator. Use this method if you need to check whether or not your views are currently subject to changes in position or transform.