azimuthUnitVector(in:)
A value that represents the azimuth unit vector of the hovering pointing device in the specified view.
Declaration
func azimuthUnitVector(in view: UIView?) -> CGVectorParameters
- view:
The view the vector is relative to.
Return Value
A CGVector that represents the azimuth unit vector of the hovering pointing device.
Discussion
If the specified view is nil, the method returns the azimuth unit vector of the hovering pointing device in the gesture recognizer’s window.
This method returns an empty vector for devices that don’t support azimuth.