What exactly does the iPhone accelerometer measure?

前端 未结 6 807
星月不相逢
星月不相逢 2021-02-14 04:37

The apple documentation for UIAcceleration class says,

\"When a device is laying still with its back on a horizontal surface, each acceleration event has

6条回答
  •  既然无缘
    2021-02-14 05:32

    I found the answer [in the CoreMotion Reference guide, thanks to bensnider:

    The accelerometer measures the sum of two acceleration vectors: gravity and user acceleration. User acceleration is the acceleration that the user imparts to the device.

提交回复
热议问题