共用方式為


UIContextualActionHandler 代理人

定義

當使用者按下 UIContextualAction 按鈕時要執行的動作。

public delegate void UIContextualActionHandler(UIContextualAction action, UIView sourceView, UIContextualActionCompletionHandler completionHandler);
type UIContextualActionHandler = delegate of UIContextualAction * UIView * UIContextualActionCompletionHandler -> unit

參數

sourceView
UIView

適用於