Contents

angle

The current angle of the hinge, in radians.

Declaration

var angle: CGFloat { get }

Discussion

The rate and granularity of angle updates are system policy and can change based on system state, so don’t depend on a particular update frequency or precision. If you only need to know whether the hinge is closed, partially open, or fully open, prefer status over the angle.

See Also

Getting the hinge state