I have a simple (I think) question :
I got an iPhone. He create a plist file and he save it. I want to upload this file on a server.
Then, with 3 others iPhone, I will download this plist file and decrypt the informations.
My question is : How can I upload this plist file into a server !!
I don’t have any FTP server or others … Can I use instead Dropbox by exemple ?
Or is an other way to communicate between iPhone (private – not for AppStore) ?
Thanks very much for your answers !
Yes, you can use Dropbox API to upload a plist on the Dropbox user’s folder.
Check first this link to setup your project
You can use these snippets (from this page):
then implement the callbacks
EDIT:
(if you want, you can load the plist from the Documents folder of your app. remember that the mainBundle is read-only so you can’t modify the plist that resides in the main bundle, you can only read it)..like this: