pedometerData
A sensor that provides information about the user’s steps.
Declaration
static let pedometerData: SRSensorDiscussion
The sample type for this sensor is CMPedometerData.
You need to provide a reason to record pedometer data by adding the SRSensorUsagePedometer dictionary to the NSSensorKitUsageDetail key in the information property list.