Contents

scrollViewDidEndScrollingAnimation(_:)

Tells the delegate when a scrolling animation in the scroll view concludes.

Declaration

optional func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView)

Parameters

  • scrollView:

    The scroll-view object that’s performing the scrolling animation.

Discussion

The scroll view calls this method at the end of its implementations of the setContentOffset(_:animated:) and scrollRectToVisible(_:animated:) methods, but only if animations are requested.