Contents

init(progressViewStyle:)

Creates a progress view with the specified style.

Declaration

convenience init(progressViewStyle style: UIProgressView.Style)

Parameters

  • style:

    A constant that specifies the style of the object to be created. See Style for descriptions of the style constants.

Return Value

An initialized UIProgressView object.

Discussion

UIProgressView sets the height of the returned view according to the specified style. You can set and retrieve the style of a progress view through the progressViewStyle property.

See Also

Creating a progress view