Contents

scrollPositionUpdatePreservesVelocity

Whether a programmatic update to the scroll position of a scroll view preserves the current velocity of any active scroll of the scroll view.

Declaration

var scrollPositionUpdatePreservesVelocity: Bool { get set }

Discussion

By default, when a scroll view sees a programmatic update to its scroll position, it will stop any active scrolls for unanimated scrolls. If a programmatic update is animated, this property is ignored.