Contents

UIActivityIndicatorView

A view that shows that a task is in progress.

Declaration

@MainActor class UIActivityIndicatorView

Overview

You control when an activity indicator animates by calling the startAnimating() and stopAnimating() methods. To automatically hide the activity indicator when animation stops, set the hidesWhenStopped property to true.

You can set the color of the activity indicator by using the color property.

Topics

Creating an activity indicator

Managing an activity indicator

Configuring the activity indicator appearance

Constants

Initializers

See Also

Content views