Share via


UIDragInteractionDelegate_Extensions.GetSessionForAddingItems Method

Definition

Method that is called to disambiguate to which session to add items when multiple sessions are active.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.IUIDragSession? GetSessionForAddingItems(this UIKit.IUIDragInteractionDelegate This, UIKit.UIDragInteraction interaction, UIKit.IUIDragSession[] sessions, CoreGraphics.CGPoint point);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetSessionForAddingItems : UIKit.IUIDragInteractionDelegate * UIKit.UIDragInteraction * UIKit.IUIDragSession[] * CoreGraphics.CGPoint -> UIKit.IUIDragSession

Parameters

interaction
UIDragInteraction

The interaction that is making the request.

sessions
IUIDragSession[]

The sessions from which to choose.

point
CGPoint

The touch point in the view's coordinate system.

Returns

Attributes

Applies to