Search code examples
iphonecocoanetwork-programmingbonjourfile-sharing

How to Share Files Between my iPhone App and a Mac/PC


I have developed an iPhone app which stores photos in the /Documents directory of my app.

I would like to add a feature which gives to the user the opportunity to transfer those pictures to his/her PC or Mac.

I don't really know how to do that. What is the best way, using Bonjour, bluetooth, or directly USB (if it is possible) ? I really need some advices on that point ...

Any ideas ?

PS: Forgive my English, I am French :-)


Solution

  • You've edited the question to say that it's about transferring photos. Could you store the photos on the iPhone's photo roll with UIImageWriteToSavedPhotosAlbum(), and let Apple handle getting them onto the computer?