Contents

location(in:)

Returns the location of the scroll update in the coordinate system of the given view.

Declaration

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

Parameters

  • view:

    The view that contains the coordinate system to express the location. Pass nil to get the location in the window’s coordinate system.

Return Value

The location of the scroll update in the specified view’s coordinate system.

See Also

Transforming coordinates