Returns the previous location of the receiver in the coordinate system of the given view.
- iOS 2.0+
- tvOS 9.0+
The view object in whose coordinate system you want the touch located. A custom view that is handling the touch may specify
selfto get the touch location in its own coordinate system. Pass
nilto get the touch location in the window’s coordinates.
This method returns the previous location of a
UITouch object in the coordinate system of the specified view. Because the touch object might have been forwarded to a view from another view, this method performs any necessary conversion of the touch location to the coordinate system of the specified view.