public interface UIScrollViewDelegate
Modifier and Type | Method and Description |
---|---|
default void |
didEndDecelerating(UIScrollView scrollView)
It is used when the scrolling stopped decelerating.
|
default void |
didEndDragging(UIScrollView scrollView,
boolean willDecelerate)
It is used when the user stopped scrolling and lifted the finger.
|
default void |
didEndScrollingAnimation(UIScrollView scrollView)
It is used after the zooming of the scroll view ended.
|
default void |
didEndZooming(UIScrollView scrollView,
UIView withView,
double atScale)
It is used after the zooming gesture ends.
|
default void |
didScroll(UIScrollView scrollView)
It is used when the user scrolls the content view.
|
default void |
didScrollToTop(UIScrollView scrollView)
It is used when the scrolling reached the top of the content.
|
default boolean |
shouldScrollToTop(UIScrollView scrollView)
It is used in order to control whether the scrolling should lasts till
the top of the content is reached.
|
default UIView |
viewForZoomingInScrollView(UIScrollView scrollView)
It is used when zooming gesture begins.
|
default void |
willBeginDecelerating(UIScrollView scrollView)
It is used when the scrolling starts to decelerate.
|
default void |
willBeginDragging(UIScrollView scrollView)
It is used when the content of the view is about to begin scrolling.
|
default void didScroll(UIScrollView scrollView)
scrollView
- The scroll view that corresponds to this delegate.default void willBeginDragging(UIScrollView scrollView)
scrollView
- The scroll view that corresponds to this delegate.default void didEndDragging(UIScrollView scrollView, boolean willDecelerate)
scrollView
- The scroll view that corresponds to this delegate.willDecelerate
- TRUE the scrolling continues after lifting finger.default boolean shouldScrollToTop(UIScrollView scrollView)
scrollView
- The scroll view that corresponds to this delegate.default void didScrollToTop(UIScrollView scrollView)
scrollView
- The scroll view that corresponds to this delegate.default void willBeginDecelerating(UIScrollView scrollView)
scrollView
- The scroll view that corresponds to this delegate.default void didEndDecelerating(UIScrollView scrollView)
scrollView
- The scroll view that corresponds to this delegate.default UIView viewForZoomingInScrollView(UIScrollView scrollView)
scrollView
- The scroll view that corresponds to this delegate.default void didEndZooming(UIScrollView scrollView, UIView withView, double atScale)
scrollView
- The scroll view that corresponds to this delegate.withView
- The part of the content to be scaled.atScale
- The scale factor of the zooming.default void didEndScrollingAnimation(UIScrollView scrollView)
scrollView
- The scroll view that corresponds to this delegate.Copyright © 2020. All rights reserved.