Detecting if a user is moving in a car

前端 未结 4 968
一整个雨季
一整个雨季 2020-12-04 10:27

NOTICE: This question was originally posted before Apple introduced motion-detection hardware and associated APIs in the iOS SDK. Answers to

4条回答
  •  广开言路
    2020-12-04 10:58

    You can use this simple library to detect if user is walking, running, on vehicle or not moving.

    Works on all iOS devices and no need M7 chip.

    https://github.com/SocialObjects-Software/SOMotionDetector

    In repo you can find demo project

提交回复
热议问题