Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questionIs there any possible way to transfer data from an Iphone to the computer when the Iphone is tethered and an application is open. Basically, the Iphone needs to be able to effect files on the computer.
Currently, there're two options for you:
- iTunes File Sharing - This allows the user to browse the "Documents" directory of your application in iTunes. Your application will be in the background during this time. (the Sync screen takes priority) This however only works for changing files on the iOS device. You'll find a tutorial for that here.
- Wireless Transfer - You could create a HTTP Server and allow the user to change files via their web browser or client application. This way, your app would not be in the background and you could technically monitor any changes you like. You can easily implement this for Mac OS X or iOS. For a tutorial for that, see here.
精彩评论