Sdílet prostřednictvím


UICollectionViewSource.ShouldScrollToTop(UIScrollView) Method

Definition

Whether a scroll to the beginning of the scrollView should be permitted.

[Foundation.Export("scrollViewShouldScrollToTop:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldScrollToTop(UIKit.UIScrollView scrollView);
[<Foundation.Export("scrollViewShouldScrollToTop:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldScrollToTop : UIKit.UIScrollView -> bool
override this.ShouldScrollToTop : UIKit.UIScrollView -> bool

Parameters

scrollView
UIScrollView

Scroll view requesting whether scroll is allowed.

Returns

Implements

Attributes

Applies to