Instance Method

sizeToFit

This action method resizes the progress indicator to an appropriate size depending on the value of style.

Declaration

- (void)sizeToFit;

Discussion

Use this after you use style to re-size the progress indicator.

See Also

Setting the appearance

controlSize

The size of the progress indicator.

controlTint

The progress indicator’s control tint.

bezeled

A Boolean that indicates whether the progress indicator’s frame has a three-dimensional bezel.

indeterminate

A Boolean that indicates whether the progress indicator is indeterminate.

style

The style of the progress indicator (bar or spinning).

displayedWhenStopped

A Boolean that indicates whether the progress indicator hides itself when it isn’t animating.