Retrieves the accelerometer data for entries in the same batch.


func accelerometerDataSince(_ identifier: UInt64) -> CMSensorDataList?



The batch identifier of the requested samples. You can obtain this identifier from accelerometer data entries retrieved during a previous query.

Return Value

An object to use for enumerating over the accelerometer data.


The sensor recorder captures accelerometer data in batches and assigns each sample the same identifier. Use this method to retrieve the samples associated with a specific batch.

See Also

Retrieving Past Accelerometer Data

func accelerometerData(from: Date, to: Date) -> CMSensorDataList?

Retrieves the accelerometer data collected between the specified dates.