Contents

location(in:)

Returns the location of the drag activity within the specified view.

Declaration

func location(in view: UIView?) -> CGPoint

Parameters

  • view:

    The view that is used to determine the location of the drag activity.

Return Value

A point in the local coordinate system of view.

Discussion

To get the location of the drag activity within the window, use nil for the view.