Contents

forwards

An option that freezes the last frame of the animation until it stops.

Declaration

static let forwards: AnimationFillMode

Discussion

For example, if you increase a hand-waving animation’s duration one second by setting trimEnd to duration + 1.0, a fillMode of forwards determines that the hand waves and then freezes on its final animation frame for one second before disappearing.

See Also

Choosing a fill mode