Instance Property

decelerationRate

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

Declaration

var decelerationRate: UIScrollView.DecelerationRate { get set }

Discussion

Your application can use the normal and fast constants as reference points for reasonable deceleration rates.

See Also

Getting the Scrolling State

var isTracking: Bool

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

var isDragging: Bool

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

var isDecelerating: Bool

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

struct UIScrollView.DecelerationRate

Deceleration rates for the scroll view.

Beta