Contents

isDirectionalLockEnabled

A Boolean value that determines whether scrolling is disabled in a particular direction.

Declaration

final var isDirectionalLockEnabled: Bool { get set }

Discussion

When true, the scroll view tries to lock scrolling to the vertical or horizontal direction while dragging. Default is false.

See Also

Configuring scroll state