Instance Property


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


var decelerationRate: CGFloat { get set }


Your application can use the UIScrollViewDecelerationRateNormal and UIScrollViewDecelerationRateFast 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.

let UIScrollViewDecelerationRateNormal: CGFloat

The default deceleration rate for a scroll view.

let UIScrollViewDecelerationRateFast: CGFloat

A fast deceleration rate for a scroll view.