---
title: startMagnetometerUpdates()
framework: coremotion
role: symbol
role_heading: Instance Method
path: coremotion/cmmotionmanager/startmagnetometerupdates()
---

# startMagnetometerUpdates()

Starts magnetometer updates without a block handler.

## Declaration

```swift
func startMagnetometerUpdates()
```

## Discussion

Discussion You can get the latest magnetometer data through the magnetometerData property. You must call stopMagnetometerUpdates() when you no longer want your app to process magnetometer updates.

## See Also

### Managing Magnetometer Updates

- [magnetometerUpdateInterval](coremotion/cmmotionmanager/magnetometerupdateinterval.md)
- [startMagnetometerUpdates(to:withHandler:)](coremotion/cmmotionmanager/startmagnetometerupdates(to:withhandler:).md)
- [stopMagnetometerUpdates()](coremotion/cmmotionmanager/stopmagnetometerupdates().md)
- [magnetometerData](coremotion/cmmotionmanager/magnetometerdata.md)
- [CMMagnetometerHandler](coremotion/cmmagnetometerhandler.md)
