Use an activity indicator to show that a task is in progress. An activity indicator appears as a “gear” that is either spinning or stopped.
- iOS 2.0+
- tvOS 2.0+
You control when an activity indicator animates by calling the
stop methods. To automatically hide the activity indicator when animation stops, set the
hides property to
Starting in iOS 5.0, you can set the color of the activity indicator by using the
For more information about appearance and behavior configuration, see Activity Indicators.