iPhone 加速的 .Z 是多少?

What is the .Z for acceleration on an iPhone?

我正在我的应用程序上使用 Core Motion。我知道 .X 正在沿长轴移动 iPhone,而 .Y 正在使 iPhone 沿短轴移动。但我不知道 .Z 读的是什么,所以如果有人能向我解释一下那就太好了。

如果您将 iPhone 的屏幕撞到您的前额,您将使用 Z 轴。

顺便说一句,这个说法不太对:"I know that the .X is moving the iPhone along the long axis"。 Core Motion 无法检测到 moving(尽管名称如此)。它检测到 加速度,这不是一回事。可以不加速运动(也叫匀速),也可以不运动加速(也叫重力)。