Contents

scrollViewDidEndDecelerating(_:)

Tells the delegate that the scroll view ended decelerating the scrolling movement.

Declaration

optional func scrollViewDidEndDecelerating(_ scrollView: UIScrollView)

Parameters

  • scrollView:

    The scroll-view object that’s decelerating the scrolling of the content view.

Discussion

The scroll view calls this method when the scrolling movement comes to a halt. The isDecelerating property of UIScrollView controls deceleration.

See Also

Responding to scrolling and dragging