Deutsches LiveCode Wiki
Advertisement

Displays an animated activity indicator on the iOS screen

Syntax:

iphoneActivityIndicatorStart [type] [, xposition, yposition]

Examples:

iphoneActivityIndicatorStart
iphoneActivityIndicatorStart "gray"
iphoneActivityIndicatorStart "whiteLarge", 100, 100

The activity indicator displays an animated indicator on the screen.

Parameters:

  • type - Specifies the type of animation that is to be displayed. The default is "white". The possible values are:
    • gray - displays a small gray spoked animation
    • white - displays a small white spoked animation
    • whiteLarge - displays a large white spoked animation
  • xposition - Specifies the horizontal position on the screen at which the animation should be displayed.
  • yposition - Specifies the vertical position on the screen at which the animation should be displayed.

Use the iphoneActivityIndicatorStart command to display a native iOS activity indicator on the top of the LiveCode stack that is running.

The iphoneActivityIndicatorStart command allows you to select from three types of animation and position the animation at a defined location on the screen. If a location is not specified, then the animation is positioned in the middle of the screen. You can turn the activity indicator off by calling iphoneActivityIndicatorStop.

See Also: iphoneActivityIndicatorStop Command

Advertisement