---
title: hidesWhenStopped
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiactivityindicatorview/hideswhenstopped
---

# hidesWhenStopped

A Boolean value that controls whether the activity indicator is hidden when the animation is stopped.

## Declaration

```swift
var hidesWhenStopped: Bool { get set }
```

## Discussion

Discussion If the value of this property is true (the default), the receiver sets its isHidden property (UIView) to true when receiver is not animating. If the hidesWhenStopped property is false, the receiver is not hidden when animation stops. You stop an animating progress indicator with the stopAnimating() method.

## See Also

### Managing an activity indicator

- [startAnimating()](uikit/uiactivityindicatorview/startanimating().md)
- [stopAnimating()](uikit/uiactivityindicatorview/stopanimating().md)
- [isAnimating](uikit/uiactivityindicatorview/isanimating.md)
