The delegate of the scroll-view object.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The delegate must adopt the
UIScrollViewDelegate protocol. The
UIScrollView class, which does not retain the delegate, invokes each protocol method the delegate implements.
Responding to Scroll View Interactions
The methods declared by the
UIScrollViewDelegate protocol allow the adopting delegate to respond to messages from the
UIScrollView class and thus respond to, and in some affect, operations such as scrolling, zooming, deceleration of scrolled content, and scrolling animations.