Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何使用UIAccelerometer类来计算一个人走过的距离?
UIAccelerometer
由于加速度计的限制,这是不切实际的。
改用 GPS,通过CLLocationManager课程。
CLLocationManager