The angle of rotation, measured in degrees, applied to the view’s frame rectangle relative to its superview’s coordinate system.
- macOS 10.0+
Positive values indicate counterclockwise rotation. Negative values indicate clockwise rotation. Rotation is performed around the origin of the frame rectangle. Changing the value of this property does not mark the view as needing to be displayed. Set the
needs property to
true when you want the view to be redisplayed.
Changing the frame rotation value results in the posting of an
frame to the default notification center if the view is configured to do so.