The translation of the pan gesture in the coordinate system of the specified view.
- iOS 3.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
The view in whose coordinate system the translation of the pan gesture should be computed. If you want to adjust a view's location to keep it under the user's finger, request the translation in that view's superview's coordinate system.
A point identifying the new location of a view in the coordinate system of its designated superview.
The x and y values report the total translation over time. They are not delta values from the last time that the translation was reported. Apply the translation value to the state of the view when the gesture is first recognized—do not concatenate the value each time the handler is called.