philip abraham
philip abraham

Reputation: 587

how can i transfer a file from one iphone to another iphone/ipad device without using a server

Can anybody suggest me a method of how to send/share a file from one iphone/ipad device to another. Is it possible to achieve it using Bonjour.

Thanks in advance.

Upvotes: 0

Views: 265

Answers (1)

werner
werner

Reputation: 859

You can use the GameKit API to send data between peers over a Bluetooth connection. GKSession has the following method :

- (void) mySendDataToPeers: (NSData *) data
{
    [session sendDataToAllPeers: data withDataMode: GKSendDataReliable error: nil];
}

Upvotes: 2

Related Questions