Edit

Share via


UIScrollViewCondition Delegate

Definition

A delegate allowing fine-grained control of the scroll-to-top gesture.

public delegate bool UIScrollViewCondition(UIScrollView scrollView);
type UIScrollViewCondition = delegate of UIScrollView -> bool

Parameters

scrollView
UIScrollView

The UIScrollView that has just received the scroll-to-top-gesture

Return Value

If true, the UIScrollView will scroll to the top of its content view. If false, it will not.

Remarks

This delegate is called after the application user has made a scroll-to-top gesture (tapping the status bar) but before the actual scrolling takes place.

Applies to

See also