<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMotion",
  "identifier" : "/documentation/CoreMotion/CMSensorRecorder/isAccelerometerRecordingAvailable()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Core Motion"
    ],
    "preciseIdentifier" : "c:objc(cs)CMSensorRecorder(cm)isAccelerometerRecordingAvailable"
  },
  "title" : "isAccelerometerRecordingAvailable()"
}
-->

# isAccelerometerRecordingAvailable()

Returns a Boolean value indicating whether accelerometer recording is supported on the current device.

```
class func isAccelerometerRecordingAvailable() -> Bool
```

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if accelerometer recording is available or <doc://com.apple.documentation/documentation/Swift/false> if it is not.

## Discussion

Call this method before trying to record or retrieve any accelerometer data using the methods of this class. Accelerometer data recording is not supported on all devices.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)