---
title: rotationRate
framework: coremotion
role: symbol
role_heading: Instance Property
path: coremotion/cmgyrodata/rotationrate
---

# rotationRate

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

## Declaration

```swift
var rotationRate: CMRotationRate { get }
```

## Discussion

Discussion This property yields a measurement of the device’s rate of rotation around three axes. Whereas this property gives the raw data from the gyroscope, the identically named property of CMDeviceMotion gives a CMRotationRate structure measuring gyroscope data whose bias has been removed by Core Motion algorithms.

## See Also

### Related Documentation

- [Event Handling Guide for UIKit Apps](apple-archive/documentation/EventHandling/Conceptual/EventHandlingiPhoneOS.md)

### Getting the Rotation Rate

- [CMRotationRate](coremotion/cmrotationrate.md)
- [CMRotationRateData](coremotion/cmrotationratedata.md)
- [CMRecordedRotationRateData](coremotion/cmrecordedrotationratedata.md)
