Enumeration

UIScrollView.IndicatorStyle

The style of the scroll indicators. You use these constants to set the value of the indicatorStyle style.

Declaration

enum IndicatorStyle : Int

Topics

Constants

case `default`

The default style of scroll indicator, which is black with a white border. This style is good against any content background.

case black

A style of indicator which is black and smaller than the default style. This style is good against a white content background.

case white

A style of indicator is white and smaller than the default style. This style is good against a black content background.

See Also

Managing the Scroll Indicator and Refresh Control

var indicatorStyle: UIScrollView.IndicatorStyle

The style of the scroll indicators.

var scrollIndicatorInsets: UIEdgeInsets

The distance the scroll indicators are inset from the edge of the scroll view.

Deprecated
var showsHorizontalScrollIndicator: Bool

A Boolean value that controls whether the horizontal scroll indicator is visible.

var showsVerticalScrollIndicator: Bool

A Boolean value that controls whether the vertical scroll indicator is visible.

func flashScrollIndicators()

Displays the scroll indicators momentarily.

var refreshControl: UIRefreshControl?

The refresh control associated with the scroll view.