Edit

Share via


UICollectionViewController.ShouldScrollToTop(UIScrollView) Method

Definition

Whether the collection should scroll to its beginning.

[Foundation.Export("scrollViewShouldScrollToTop:")]
public virtual bool ShouldScrollToTop (UIKit.UIScrollView scrollView);
abstract member ShouldScrollToTop : UIKit.UIScrollView -> bool
override this.ShouldScrollToTop : UIKit.UIScrollView -> bool

Parameters

scrollView
UIScrollView

The scrollview that is associated with the collection view.

Returns

Returns true if item should scroll to top, false if not.

Attributes

Applies to