如何以编程方式访问连接到Windows桌面的iOS设备的文件系统? [英] How do I programmatically access the filesystem of an iOS device connected to a Windows desktop?
问题描述
我想使用C ++访问iPhone或iOS设备上应用程序的Documents文件夹.有很多程序可以访问iOS设备的文件系统,例如 iPhone资源管理器,所以我知道这是可能的.
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.
这些程序需要iTunes,所以我认为我必须与iTunes通信才能访问iPhone设备中的某些文件夹.
These programs need iTunes, so I think I have to communicate with iTunes to access some folders in iPhone device.
我同时使用Visual C ++和Embarcadero C ++ Builder.但是,我找不到使用C ++访问iOS设备文件系统的任何资源.有人知道该怎么做吗?
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?
推荐答案
iTunes包含一个类型库,您可以使用该类型库来访问其对象模型.我不记得具体细节,但是您可以使用OleView之类的东西来查看该库,并且可以将其导入到C ++项目中.
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.
我什至只是这样做来访问库管理功能,所以我不确定它是否为iOS设备提供了对象模型(尽管我认为会).
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).
这篇关于如何以编程方式访问连接到Windows桌面的iOS设备的文件系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!