Edytuj

Udostępnij za pośrednictwem


UIScrollViewDelegate.ScrolledToTop(UIScrollView) Method

Definition

Called when the scroll view is scrolled to the top of the content.

[Foundation.Export("scrollViewDidScrollToTop:")]
public virtual void ScrolledToTop (UIKit.UIScrollView scrollView);
abstract member ScrolledToTop : UIKit.UIScrollView -> unit
override this.ScrolledToTop : UIKit.UIScrollView -> unit

Parameters

scrollView
UIScrollView

Scroll view that was scrolled.

Attributes

Remarks

The scroll view calls this method when it finishes scrolling to the top of the content. It might be called immediately if the top is already shown. For the scroll-to-top gesture (tap on the status bar) to work, ScrollsToTop (on UIScrollView) must be set to true.

Applies to