scrollViewDidScroll(_:)
Tells the delegate when the user scrolls the content view within the scroll view.
Declaration
optional func scrollViewDidScroll(_ scrollView: UIScrollView)Parameters
- scrollView:
The scroll-view object in which the scrolling occurred.
Discussion
The delegate typically implements this method to obtain the change in content offset from scrollView and draw the affected portion of the content view.