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.
如何检测用户何时将他的 iphone 与其他 iphone 碰撞?我的应用程序在两台设备上都运行。两个设备都可以通过蓝牙/wifi/互联网建立连接。
我建议使用这两者的组合:
你肯定不会找到一个 API,所以你必须使用 iPhone 的传感器数据自己构建它。我猜加速度计是最有希望完成这项任务的。
但是,实施并非易事,您必须对收到的数据进行大量试验。也许你甚至不得不使用一些数据挖掘技术来达到你的目标。