Edytuj

Udostępnij za pośrednictwem


UIDragInteractionDelegate.GetPreviewForLiftingItem Method

Definition

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

[Foundation.Export("dragInteraction:previewForLiftingItem:session:")]
public virtual UIKit.UITargetedDragPreview GetPreviewForLiftingItem (UIKit.UIDragInteraction interaction, UIKit.UIDragItem item, UIKit.IUIDragSession session);
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

Attributes

Applies to