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.
我的应用程序将有一个UILabel显示 iPhone 当前速度的应用程序。当然,如果 iPhone 坠落,坠落速度也会更新为该标签。对于短距离,我相信 GPS 无法做到这一点,加速度计也不适合。这个任务可以吗?如果是,如何实施?
UILabel
不,GPS 无法做到这一点。(在 iPhone 中没有)。但是加速度计是可能的(但不要等待高精度)