Share via


CLLocationManager.Heading Property

Definition

The most recent heading (direction in which the device is traveling).

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreLocation.CLHeading? Heading { [Foundation.Export("heading", ObjCRuntime.ArgumentSemantic.Copy)] get; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("heading", ObjCRuntime.ArgumentSemantic.Copy)>]
member this.Heading : CoreLocation.CLHeading

Property Value

This value may be null if heading updates have not been started.

Attributes

Remarks

Heading information is only available on devices with a hardware magnetometer. (See HeadingAvailable.)

Applies to