Returns a Boolean value indicating whether the location manager is able to generate heading-related events.
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- watchOS 2.0+
- Core Location
true if heading data is available;
false if it is not.
Heading data may not be available on all iOS-based devices. You should check the value returned by this method before asking the location manager to deliver heading-related events.