Contents

horizontalAngle

An angle in radians that indicates the azimuthal direction to the nearby object.

Declaration

@property (nonatomic, readonly) float horizontalAngle;

Discussion

The framework sets a value of this property when isCameraAssistanceEnabled is true.

The value of this property is NINearbyObjectAngleNotAvailable when direction is unavailable, such as when the app runs on Apple Watch.

See Also

Acquiring relative direction