편집

다음을 통해 공유


UIDragInteractionDelegate.GetSessionForAddingItems Method

Definition

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

[Foundation.Export("dragInteraction:sessionForAddingItems:withTouchAtPoint:")]
public virtual UIKit.IUIDragSession GetSessionForAddingItems (UIKit.UIDragInteraction interaction, UIKit.IUIDragSession[] sessions, CoreGraphics.CGPoint point);
abstract member GetSessionForAddingItems : UIKit.UIDragInteraction * UIKit.IUIDragSession[] * CoreGraphics.CGPoint -> UIKit.IUIDragSession
override this.GetSessionForAddingItems : 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