Scroll Modes

These constants describe the supported scroll modes used by the scrollMode property.

Topics

Constants

static let none: CAScrollLayerScrollMode

The receiver is unable to scroll.

static let vertically: CAScrollLayerScrollMode

The receiver is able to scroll vertically.

static let horizontally: CAScrollLayerScrollMode

The receiver is able to scroll horizontally.

static let both: CAScrollLayerScrollMode

The receiver is able to scroll both horizontally and vertically.