accelerometer
A sensor that provides acceleration motion data.
Declaration
static let accelerometer: SRSensorMentioned in
Discussion
The sample type for this sensor is [CMRecordedAccelerometerData].
You need to provide a reason to record accelerometer data by adding the SRSensorUsageMotion dictionary to the NSSensorKitUsageDetail key in the information property list.