Question

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.

Était-ce utile?

La solution

You should enable UIFileShareEnabled. More information is available here:

iTunes Documents Directory in my app

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top