---
title: isDeviceMotionAvailable
framework: coremotion
role: symbol
role_heading: Instance Property
path: coremotion/cmmotionmanager/isdevicemotionavailable
---

# isDeviceMotionAvailable

A Boolean value that indicates whether the device-motion service is available on the device.

## Declaration

```swift
var isDeviceMotionAvailable: Bool { get }
```

## Mentioned in

Getting processed device-motion data

## Discussion

Discussion The device-motion service is available if a device has both an accelerometer and a gyroscope. Because all devices have accelerometers, this property is functionally equivalent to isGyroAvailable.

## See Also

### Related Documentation

- [isDeviceMotionActive](coremotion/cmmotionmanager/isdevicemotionactive.md)

### Determining the Availability of Services

- [isAccelerometerAvailable](coremotion/cmmotionmanager/isaccelerometeravailable.md)
- [isGyroAvailable](coremotion/cmmotionmanager/isgyroavailable.md)
- [isMagnetometerAvailable](coremotion/cmmotionmanager/ismagnetometeravailable.md)
