Activity indicator is the native iOS Design Element that displays an animated spinner to show that a process is in progress.
In order to show/hide and start/stop an Activity Indicator, you will need to use either the No Code Actions or the Code Blocks.
Note: You will need to handle both the Start and the Stop animating, but you don’t need to use the same way for both. For example, you can start it at an When Screen First Loads Event and stop it from a Datasource Response.
- Add an Activity Indicator.
- Setup its style from the Activity Indicator Properties.
- Select an Element or a Datasource that supports Events.
- Add a new Execute No Code Action.
- Select the Activity Indicator category.
- Select the Start Animating or the Stop Animating action.
- Select the Activity Indicator Design Element.
You can use the Activity Indicator Code Blocks to Start and Stop the animation of an Activity Indicator.
Select the size of the activity indicator.
Big Default value:
Select if the activity indicator will be hidden automatically, when it stops spinning.
Note: You will need to manually change the hidden property, if you set this
The color of the activity indicator.
Alpha is a number that alters the transparency of the activity indicator. It ranges between 0.0 and 1.0, where 0.0 makes the activity indicator totally transparent and 1.0 entirely opaque.
Activity indicator’s background color.
If enabled, it hides the activity indicator.
You can use this text to identify the Activity Indicator in the Code Blocks Editor and in the List of the Screen’s elements. It is not visible to the users.