The delegate of the scroll-view object.
SDKs
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- UIKit
Declaration
@property(nonatomic, weak) id<UIScroll View Delegate> delegate;
Discussion
The delegate must adopt the UIScroll
protocol. The UIScroll
class, which does not retain the delegate, invokes each protocol method the delegate implements.