Share via


UIDragInteractionDelegate.GetPreviewForLiftingItem Method

Definition

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

[Foundation.Export("dragInteraction:previewForLiftingItem:session:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UITargetedDragPreview? GetPreviewForLiftingItem(UIKit.UIDragInteraction interaction, UIKit.UIDragItem item, UIKit.IUIDragSession session);
[<Foundation.Export("dragInteraction:previewForLiftingItem:session:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetPreviewForLiftingItem : UIKit.UIDragInteraction * UIKit.UIDragItem * UIKit.IUIDragSession -> UIKit.UITargetedDragPreview
override this.GetPreviewForLiftingItem : 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

Implements

Attributes

Applies to