Contents

resume()

Resumes a paused animation.

Declaration

@MainActor @preconcurrency func resume()

Discussion

Call this method to resume an animation that you paused with the pause() method. You can’t resume an animation that has finished naturally, or that you stopped by calling the stop() method.

This method has no effect on an animation that isn’t paused.

See Also

Inspecting and controlling playback