iphoneios5bump

In Xcode how can I detect the bump between two iphones?


I want to do an app like Bump, where touching two iPhone I can detect them, does anybody know how can I detect the phisical bump of the iPhone?

Thanks a lot!


Solution

  • While I also started out looking to do this myself, honestly using the Bump API was quick and painless...and it just worked. I would highly recommend that you check it out before trying to "roll your own"...