scrollViewDidEndDragging(_:willDecelerate:)
Tells the delegate when dragging ended in the scroll view.
Declaration
optional func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool)Parameters
Discussion
The scroll view sends this message when the user’s finger touches up after dragging content. The isDecelerating property of UIScrollView controls deceleration.