UIScrollViewDelegate related methods,
UIScrollViewDelegate
-(Void) scrollViewDidScroll :( UIScrollView *) scrollView; // this method is called when scrollview is rolled. This method is called when any offset value is changed.
-(Void) scrollViewDidZoom :( UIScrollView *) scrollView; // called During Scaling
-(Void) scrollViewWillBeginDragging :( UIScrollView *) scrollView; // a valid scroll (if the finger is not opened, a valid scroll is called once.
-(Void) scrollViewWillEndDragging :( UIScrollView *) scrollView withVelocity :( CGPoint) velocity targetContentOffset :( inout CGPoint *) targetContentOffset; // a valid scroll is called once when the finger is released
-(Void) scrollViewDidEndDragging :( UIScrollView *) scrollView willDecelerate :( BOOL) decelerate; // a valid scroll, run the command once when the finger leaves the screen (decelerate indicates whether the screen continues to scroll by inertia when the finger is opened)
-(Void) scrollViewWillBeginDecelerating :( UIScrollView *) scrollView; // slide to slow down
-(Void) scrollViewDidEndDecelerating :( UIScrollView *) scrollView; // scroll to stop
-(Void) scrollViewDidEndScrollingAnimation :( UIScrollView *) scrollView; // call after the scrolling view animation is completed
-(UIView *) viewForZoomingInScrollView :( UIScrollView *) scrollView; // zoom View
-(Void) scrollViewWillBeginZooming :( UIScrollView *) scrollView withView :( nullable UIView *) view; // view to be scaled (only one valid scaling operation is performed)
-(Void) scrollViewDidEndZooming :( UIScrollView *) scrollView withView :( nullable UIView *) view atScale :( CGFloat) scale; // view zoom ends
-(BOOL) scrollViewShouldScrollToTop :( UIScrollView *) scrollView; // you can scroll to the top when you click the status bar.
-(Void) scrollViewDidScrollToTop :( UIScrollView *) scrollView; // call this method when scrolling to the top
UIScrollViewAccessibilityDelegate
-(NSString *) accessibilityScrollStatusForScrollView :( UIScrollView *) scrollView; // a custom string is returned when the view is scrolled.