Contents

location(in:)

Returns the geometrical location of the user’s drag activity within the specified view.

Declaration

func location(in view: UIView) -> CGPoint

Parameters

  • view:

    The view whose coordinate system is used to get the location.

Return Value

The location point of the drag activity, in the coordinate system of the specified view.