问题
Is it possible to establish a communication between an OSX (or Windows) Application, and an iOS App, via USB ?
I just want my 2 App to be able to communicate with each other, read and write packets...
I don't want to use WiFi
Is there an "easy way" to do that ?
PS: I don't mind of App Store approval.
Thanks :)
回答1:
If anyone is still interested, I've written a blog post describing how I was able to achieve this very thing for an app I'm developing.
The blog post goes into much more detail, but you can utilize the USB Multiplexing Daemon (usbmuxd, usually installed on your machine by iTunes) to setup communication with you iOS device.
回答2:
I have accomplished this is with MobileDevice.
It requires DLLs that are part of the iTunes installation in order to work and the end result is pretty much identical to having copied files using the iTunes interface.
来源:https://stackoverflow.com/questions/14483229/ios-pc-usb-communication