Sharing Data Between iOS devices

airdrop, bonjour, data-sharing, ios, one-to-many

Solution

Since IOS 7 `Multipeer Connectivity` could also be quite interesting.

The Multipeer Connectivity framework provides support for discovering services provided by nearby iOS devices using infrastructure Wi-Fi networks, peer-to-peer Wi-Fi, and Bluetooth personal area networks and subsequently communicating with those services by sending message-based data, streaming data, and resources (such as files).

Here is a nice tutorial about implementing a file sharing system using multipeer connectivity: http://www.appcoda.com/intro-ios-multipeer-connectivity-programming/

Problem

I would like to do data sharing(Maybe `xml` or `json` file) between 2 iOS devices (iPhone or iPad) and communication would be like "one to many bidirectional" bases at a time. With some experience and from articles , I have found below ways to do it. - Wi-Fi Direct - AirDrop - Bluetooth(By creating Master and Slaves) - Bonjour SDK. - Bump API(Which is already closed from january 2014) Could anybody please suggest the best way to fulfill my requirement, which is a good way to do it?

Original source