Edit

Share via


UIDragInteractionDelegate.GetItemsForAddingToSession Method

Definition

Method that is called to add drag items to a drag session in response to a gesture by the user.

[Foundation.Export("dragInteraction:itemsForAddingToSession:withTouchAtPoint:")]
public virtual UIKit.UIDragItem[] GetItemsForAddingToSession (UIKit.UIDragInteraction interaction, UIKit.IUIDragSession session, CoreGraphics.CGPoint point);
abstract member GetItemsForAddingToSession : UIKit.UIDragInteraction * UIKit.IUIDragSession * CoreGraphics.CGPoint -> UIKit.UIDragItem[]
override this.GetItemsForAddingToSession : UIKit.UIDragInteraction * UIKit.IUIDragSession * CoreGraphics.CGPoint -> UIKit.UIDragItem[]

Parameters

interaction
UIDragInteraction

The interaction that is making the request.

session
IUIDragSession

The session to which to add items.

point
CGPoint

The touch location in the view's coordinate system.

Returns

Attributes

Applies to