---
title: "startDeviceMotionUpdates(using:)"
framework: coremotion
role: symbol
role_heading: Instance Method
path: "coremotion/cmmotionmanager/startdevicemotionupdates(using:)"
---

# startDeviceMotionUpdates(using:)

Starts device-motion updates using a reference frame but without a block handler.

## Declaration

```swift
func startDeviceMotionUpdates(using referenceFrame: CMAttitudeReferenceFrame)
```

## Parameters

- `referenceFrame`: A constant identifying the reference frame to use for device-motion updates. It’s your responsibility to specify a reference frame that’s available on the current device. Call doc://com.apple.coremotion/documentation/CoreMotion/CMMotionManager/availableAttitudeReferenceFrames() to determine which reference frames are currently available.

## Discussion

Discussion You can get the latest device-motion data through the deviceMotion property. You must call stopDeviceMotionUpdates() when you no longer want your app to process device-motion updates.

## See Also

### Managing Device Motion Updates

- [showsDeviceMovementDisplay](coremotion/cmmotionmanager/showsdevicemovementdisplay.md)
- [deviceMotionUpdateInterval](coremotion/cmmotionmanager/devicemotionupdateinterval.md)
- [startDeviceMotionUpdates(using:to:withHandler:)](coremotion/cmmotionmanager/startdevicemotionupdates(using:to:withhandler:).md)
- [startDeviceMotionUpdates(to:withHandler:)](coremotion/cmmotionmanager/startdevicemotionupdates(to:withhandler:).md)
- [startDeviceMotionUpdates()](coremotion/cmmotionmanager/startdevicemotionupdates().md)
- [stopDeviceMotionUpdates()](coremotion/cmmotionmanager/stopdevicemotionupdates().md)
- [deviceMotion](coremotion/cmmotionmanager/devicemotion.md)
- [CMDeviceMotionHandler](coremotion/cmdevicemotionhandler.md)
