Instance Method


Starts the animation of the progress indicator.


func startAnimating()


When the progress indicator is animated, the gear spins to indicate indeterminate progress. The indicator is animated until stopAnimating() is called.

See Also

Managing an Activity Indicator

func stopAnimating()

Stops the animation of the progress indicator.

var isAnimating: Bool

A Boolean value indicating whether the activity indicator is currently running its animation.

var hidesWhenStopped: Bool

A Boolean value that controls whether the receiver is hidden when the animation is stopped.