问题
I want to access the Documents folder of an application on an iPhone or iOS device by using C++. There are many programs that can access the filesystem of an iOS device, such as iPhone Explorer, so I know this is possible.
These programs need iTunes, so I think I have to communicate with iTunes to access some folders in iPhone device.
I'm using both Visual C++ and Embarcadero C++ Builder. However, I can't find any resources to access the iOS device filesystem using C++. Does anyone know how to do this?
回答1:
iTunes includes a type library that you can use to access its object model. I don't remember the specifics, but you can use something like OleView to view the library and you can #import it in your C++ project.
I've only even done this to access the library management features, so I'm not sure if it provides an object model for iOS devices or not (though I would assume it would).
来源:https://stackoverflow.com/questions/4783072/how-do-i-programmatically-access-the-filesystem-of-an-ios-device-connected-to-a