开发者

Detect gesture accelerometer

开发者 https://www.devze.com 2023-01-06 21:50 出处:网络
I\'m creating an iPhone application. My application needs to detect the movements of the accelerometer and report the case of movement by the user.

I'm creating an iPhone application. My application needs to detect the movements of the accelerometer and report the case of movement by the user. In practice I have to constantly check that the coordinates received from accelerometer are equal to the coordinates saved in my movement. My problem is that its implementation is not simp开发者_运维问答le because I know there are many factors that create difficulties. Someone knows a tutorial or guide to propose. I also welcome suggestions ... Thank you very much


You can use this paper as a starting point.

It shows detection of a user walking, running, walking up or down stairs or standing still. Even though it's based on Android the principle will be the same.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号