首页 > 解决方案 > Composition of iPhone Accelerometer Values

问题描述

I am receiving accelerometer values with an update interval of 1 second, using the startAccelerometerUpdates() method of CMMotionManager. Does anyone know if the values I get back are the actual values of the time the update takes place or sth. like a mean/min/max value of the time within the update interval?

标签: iosiphoneswiftaccelerometer

解决方案


根据文档,您看到的值是瞬时值。

https://developer.apple.com/documentation/coremotion/cmmotionmanager


推荐阅读