문제

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