Contents

animate(motion:)

Starts an animation sequence.

Declaration

final func animate(motion: DockAccessory.Animation) async throws -> Progress

Parameters

  • motion:

    The animation sequence to perform.

Return Value

A progress object that reports the progress during execution of the animation sequence.

Discussion

This method moves the dock accessory along a predefined trajectory to convey a characteristic. Do this only if you disable system tracking.

See Also

Performing animation