Вопрос

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.

Это было полезно?

Решение

You should enable UIFileShareEnabled. More information is available here:

iTunes Documents Directory in my app

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top