Skip to main content

Overview

Activity indicator elements are spinning animations, communicating to users that something is loading. Activity indicators let users know that the app hasn’t stalled. Play’s activity indicator uses Apple’s native progress bar. Activity Indicator Overview

Properties

In addition to the properties below, activity indicators also have access to general object properties in the Expression Editor.

Style

Select the style of the indicator:
  • Medium: A medium sized indicator (~20pt).
  • Large: A large sized indicator (~37pt).
ActivityIndicator.style
Type: string
Values: "medium" , "large"
Can get or set the value.

Color

Select the color of the indicator.
ActivityIndicator.color
Type: color
Can get or set the tint color or an individual color property.

Start Animating

Choose if the indicator should start spinning by default.
ActivityIndicator.isAnimating
Type: boolean
Values:
true = enabled
false = disabled
Can get or set the value.

Hides When Stopped

Choose if the indicator should hide when it stops spinning.
ActivityIndicator.hidesWhenStopped
Type: boolean
Values:
true = enabled
false = disabled
Can get or set the value.

Resources

Related Triggers & Actions

Set Activity Indicator Action

I