Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best way to transfer an object between two iOS devices running the same app?

I'm trying to give my iOS app the ability to transfer an object to another iOS device running the same app. The object is on the order a few thousand KB of memory. Does anyone have a suggestion as to how to do this? I am considering using FTP, but that seems a little messy. Does anyone have any suggestions on possibly using GameKit? Or something else?

like image 609
Michael Avatar asked Sep 20 '10 20:09

Michael


2 Answers

GameKit would probably be your best bet. This link seems to go over it pretty well

like image 179
Matt S. Avatar answered Sep 28 '22 02:09

Matt S.


As an alternative, I've found the SimpleNetworkStream example that apple gives an exact match as to what I want to do. Simple Peer to Peer file transfer might be the best solution.... It seems that people are having a lot of trouble transferring large data objects with GameKit.

like image 27
Michael Avatar answered Sep 28 '22 02:09

Michael