<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMotion",
  "identifier" : "/documentation/CoreMotion/CMGyroData",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Motion"
    ],
    "preciseIdentifier" : "c:objc(cs)CMGyroData"
  },
  "title" : "CMGyroData"
}
-->

# CMGyroData

A single measurement of the device’s rotation rate.

```
class CMGyroData
```

## Overview

An application receives or samples `CMGyroData` objects at regular intervals after calling the [`startGyroUpdates(to:withHandler:)`](/documentation/CoreMotion/CMMotionManager/startGyroUpdates(to:withHandler:)) method or the [`startGyroUpdates()`](/documentation/CoreMotion/CMMotionManager/startGyroUpdates()) method of the [`CMMotionManager`](/documentation/CoreMotion/CMMotionManager) class.

## Topics

### Getting the Rotation Rate

[`rotationRate`](/documentation/CoreMotion/CMGyroData/rotationRate)

The rotation rate as measured by the device’s gyroscope.

[`CMRotationRate`](/documentation/CoreMotion/CMRotationRate)

The type of structures representing a measurement of rotation rate.

[`CMRotationRateData`](/documentation/CoreMotion/CMRotationRateData)

A data object that contains a single rotation-rate measurement.

[`CMRecordedRotationRateData`](/documentation/CoreMotion/CMRecordedRotationRateData)

A data object that contains a single rotation-rate measurement at a specific time.

## Relationships

### Conforms To

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

### Inherits From

[`CMLogItem`](/documentation/CoreMotion/CMLogItem)

---

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)