Instance Property

isDragging

A Boolean value that indicates whether the user has begun scrolling the content.

Declaration

var isDragging: Bool { get }

Discussion

The value held by this property might require some time or distance of scrolling before it is set to true.

See Also

Getting the Scrolling State

var isTracking: Bool

Returns whether the user has touched the content to initiate scrolling.

var isDecelerating: Bool

Returns whether the content is moving in the scroll view after the user lifted their finger.

var decelerationRate: UIScrollView.DecelerationRate

A floating-point value that determines the rate of deceleration after the user lifts their finger.

struct UIScrollView.DecelerationRate

Deceleration rates for the scroll view.