---
title: startAnimating()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uiactivityindicatorview/startanimating()
---

# startAnimating()

Starts the animation of the progress indicator.

## Declaration

```swift
func startAnimating()
```

## Discussion

Discussion When the progress indicator is animated, the gear spins to indicate indeterminate progress. The indicator is animated until stopAnimating() is called.

## See Also

### Managing an activity indicator

- [stopAnimating()](uikit/uiactivityindicatorview/stopanimating().md)
- [isAnimating](uikit/uiactivityindicatorview/isanimating.md)
- [hidesWhenStopped](uikit/uiactivityindicatorview/hideswhenstopped.md)
