0

My app needs to transfer data to and from a PC/Mac, but without using Wireless or 3G. Is it possible to use the USB cable to run a server on the device accessible by the PC/Mac?

Accessing the app's documents-directory over USB from a program would work too.

What would be the best way? I need a solution, that will work on normal device, no jailbreak allowed. If it works without special drivers on the PC/Mac, that's a bonus too.

Daniel Brown
  • 1,134
  • 1
  • 13
  • 27
  • If you just want to share files between computer and iPhone, you could use iTunes FileSharing. – Sandro Meier Oct 26 '12 at 17:52
  • Seems interesting, will try this! Is it possible to access this folder from a desktop program? There will be a lot of files and making the user click everything in iTunes does not seem acceptable atm. i would still prefer a real communication between desktop program and app to have full control what is happening. – Daniel Brown Oct 27 '12 at 10:42

1 Answers1

1

You should enable UIFileShareEnabled. More information is available here:

iTunes Documents Directory in my app

Community
  • 1
  • 1
Ravi
  • 7,929
  • 6
  • 38
  • 48