Contents

rotationRate

A sensor that provides rotation motion data.

Declaration

static let rotationRate: SRSensor

Discussion

The sample type for this sensor is [CMRecordedRotationRateData].

You need to provide a reason to record rotation rate data by adding the SRSensorUsageMotion dictionary to the NSSensorKitUsageDetail key in the information property list.

See Also

Reading user activity sensors