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.
我想做一个像 Bump 这样的应用程序,触摸两部 iPhone 我可以检测到它们,有人知道我怎样才能检测到 iPhone 的物理碰撞吗?
非常感谢!
结合使用加速度计事件、地理位置和时间。
另请参阅“碰撞”技术如何工作?
虽然我也开始自己尝试这样做,但老实说,使用 Bump API 既快速又轻松……而且它确实有效。我强烈建议您在尝试“自己动手”之前先检查一下...