Share via


UIDragInteractionDelegate_Extensions.GetPreviewForLiftingItem Method

Definition

Method that is called to get a targeted drag preview for animating the lift.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UITargetedDragPreview? GetPreviewForLiftingItem(this UIKit.IUIDragInteractionDelegate This, UIKit.UIDragInteraction interaction, UIKit.UIDragItem item, UIKit.IUIDragSession session);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPreviewForLiftingItem : UIKit.IUIDragInteractionDelegate * UIKit.UIDragInteraction * UIKit.UIDragItem * UIKit.IUIDragSession -> UIKit.UITargetedDragPreview

Parameters

interaction
UIDragInteraction

The interaction that is making the request.

item
UIDragItem

The item for which to get a preview.

session
IUIDragSession

The drag session.

Returns

Attributes

Applies to