共用方式為


UIScrollViewDelegate_Extensions 類別

定義

介面的 IUIScrollViewDelegate 擴充方法,以支援通訊 UIScrollViewDelegate 協定中的所有方法。

public static class UIScrollViewDelegate_Extensions
type UIScrollViewDelegate_Extensions = class
繼承
UIScrollViewDelegate_Extensions

備註

IUIScrollViewDelegate 擴充方法可讓開發人員將介面的實例視為具有原始 UIScrollViewDelegate 通訊協定的所有選擇性方法。 由於介面只包含必要的成員,這些擴充方法可讓開發人員呼叫通訊協定的選擇性成員。

方法

DecelerationEnded(IUIScrollViewDelegate, UIScrollView)

表示與捲動事件相關的減速已結束。

DecelerationStarted(IUIScrollViewDelegate, UIScrollView)

表示捲動事件的減速已開始。

DidChangeAdjustedContentInset(IUIScrollViewDelegate, UIScrollView)

在內嵌值變更時呼叫的方法。

DidZoom(IUIScrollViewDelegate, UIScrollView)

表示指定的 scrollView 已縮放。

DraggingEnded(IUIScrollViewDelegate, UIScrollView, Boolean)

表示拖曳已完成。

DraggingStarted(IUIScrollViewDelegate, UIScrollView)

表示已開始拖曳。

ScrollAnimationEnded(IUIScrollViewDelegate, UIScrollView)

表示與捲動相關的所有動畫都已完成。

Scrolled(IUIScrollViewDelegate, UIScrollView)

表示指定的 scrollView 已捲動。

ScrolledToTop(IUIScrollViewDelegate, UIScrollView)

表示指定的 scrollView 捲動已結束于頂端。

ShouldScrollToTop(IUIScrollViewDelegate, UIScrollView)

是否應該允許捲動至 scrollView 的開頭。

ViewForZoomingInScrollView(IUIScrollViewDelegate, UIScrollView)

要求縮放時要調整的 UIView。

WillEndDragging(IUIScrollViewDelegate, UIScrollView, CGPoint, CGPoint)

表示拖曳即將結束。

ZoomingEnded(IUIScrollViewDelegate, UIScrollView, UIView, nfloat)

表示縮放已完成。

ZoomingStarted(IUIScrollViewDelegate, UIScrollView, UIView)

表示縮放已開始。

適用於