Returns the azimuth angle (in radians) 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 azimuth angle that is relative to the touch’s window.
The azimuth angle of the stylus, in radians.
In the plane of the screen, the azimuth angle is the direction in which the stylus is pointing. With the tip of the stylus touching the screen, the value of this property is
0 radians when the cap end of the stylus (that is, the end opposite of the tip) points along the positive x axis of the device's screen. The azimuth angle increases as the user swings the cap end of the stylus in a clockwise direction around the tip.