---
title: stopUpdatingHeading()
framework: corelocation
role: symbol
role_heading: Instance Method
path: corelocation/cllocationmanager/stopupdatingheading()
---

# stopUpdatingHeading()

Stops the generation of heading updates.

## Declaration

```swift
func stopUpdatingHeading()
```

## Discussion

Discussion Call this method whenever your code no longer needs to receive heading-related events. Disabling event delivery gives the receiver the option of disabling the appropriate hardware (and thereby saving power) when no clients need location data. You can always restart the generation of heading updates by calling the startUpdatingHeading() method again. If a compatible iPad or iPhone app calls this method when running in visionOS, the method does nothing.

## See Also

### Running the heading service

- [startUpdatingHeading()](corelocation/cllocationmanager/startupdatingheading().md)
- [dismissHeadingCalibrationDisplay()](corelocation/cllocationmanager/dismissheadingcalibrationdisplay().md)
- [headingFilter](corelocation/cllocationmanager/headingfilter.md)
- [kCLHeadingFilterNone](corelocation/kclheadingfilternone.md)
- [CLLocationDegrees](corelocation/cllocationdegrees.md)
- [headingOrientation](corelocation/cllocationmanager/headingorientation.md)
- [CLDeviceOrientation](corelocation/cldeviceorientation.md)
