Bewerken

Delen via


UIDragInteractionDelegate_Extensions.WillAnimateCancel Method

Definition

Method that is called before the animation of each item in a cancellation begins.

public static void WillAnimateCancel (this UIKit.IUIDragInteractionDelegate This, UIKit.UIDragInteraction interaction, UIKit.UIDragItem item, UIKit.IUIDragAnimating animator);
static member WillAnimateCancel : UIKit.IUIDragInteractionDelegate * UIKit.UIDragInteraction * UIKit.UIDragItem * UIKit.IUIDragAnimating -> unit

Parameters

This
IUIDragInteractionDelegate

The instance on which this extension method operates.

interaction
UIDragInteraction

The interaction that is making the request.

item
UIDragItem

The item whose cancellation will be animated.

animator
IUIDragAnimating

An animator to run custom parallel animations and in which the developer may optionally add a completion handler.

Applies to