Returns a Boolean value indicating whether the location manager is able to generate heading-related events.
- iOS 4.0+
- macOS 10.7+
- UIKit for Mac 13.0+Beta
- 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.