UIContextualActionHandler 委托

定义

用户按下 UIContextualAction 按钮时要运行的操作。

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

参数

sourceView
UIView

适用于