Returns a unit vector that points in the direction of the azimuth of the stylus.
- iOS 9.1+
- Mac Catalyst 13.0+
- tvOS 9.1+
The view that contains the stylus’s touch. Pass
nilto get the unit vector for the azimuth that is relative to the touch’s window.
The unit vector that points in the direction of the azimuth of the stylus.
It is less expensive to get the azimuth unit vector than the azimuth angle. If you’re creating transform matrices, the unit vector can also be more useful.