---
title: headingAvailable()
framework: corelocation
role: symbol
role_heading: Type Method
path: corelocation/cllocationmanager/headingavailable()
---

# headingAvailable()

Returns a Boolean value indicating whether the location manager is able to generate heading-related events.

## Declaration

```swift
class func headingAvailable() -> Bool
```

## Mentioned in

Configuring your app to use location services

## Return Value

Return Value true if heading data is available; false if it is not.

## Discussion

Discussion 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.

## See Also

### Determining the availability of services

- [significantLocationChangeMonitoringAvailable()](corelocation/cllocationmanager/significantlocationchangemonitoringavailable().md)
- [isAuthorizedForWidgetUpdates](corelocation/cllocationmanager/isauthorizedforwidgetupdates.md)
- [accuracyAuthorization](corelocation/cllocationmanager/accuracyauthorization.md)
- [isMonitoringAvailable(for:)](corelocation/cllocationmanager/ismonitoringavailable(for:).md)
- [isRangingAvailable()](corelocation/cllocationmanager/israngingavailable().md)
- [locationServicesEnabled()](corelocation/cllocationmanager/locationservicesenabled().md)
