Contents

hidesWhenStopped

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

Declaration

var hidesWhenStopped: Bool { get set }

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