管理 iDevice 上的文件

发布于 2024-11-13 22:20:26 字数 102 浏览 4 评论 0原文

有谁知道像 iPhoneExplorer 这样的程序如何管理在 iDevice 上列出/添加/删除文件?

我想在 Cocoa Touch 应用程序中做类似的事情(但更基本)。

Does anyone know how programs like iPhoneExplorer manage to list/add/remove files on an iDevice?

I would like to do something similar (but more basic) in a Cocoa Touch application.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

屋顶上的小猫咪 2024-11-20 22:20:26

从技术上讲,它不是 Apple 批准的™方法,因此不打算将其放入 App Store。但这是可能的。首先,从 /System/Library/PrivateFrameworks 导入 MobileDevice 框架。然后使用 MobileDevice 框架的逆向工程标头:

http ://code.google.com/p/zipphone/source/browse/trunk/ZiPhone/MobileDevice.h

它包含与连接的 iOS 设备通信所需的所有方法。

还有一个更容易使用的 C++ 包装器,特别是在首先检测设备时。它还包括专门用于越狱的方法,但它们不是必需的。

http://code.google.com /p/independence/source/browse/trunk/libPhoneInteraction/PhoneInteraction.cpp?r=323

It's technically not an Apple-approved™ method, so don't plan on putting this in the App Store. But it is possible. First, import the MobileDevice framework from /System/Library/PrivateFrameworks. Then use the reverse-engineered header for the MobileDevice framework:

http://code.google.com/p/ziphone/source/browse/trunk/ZiPhone/MobileDevice.h

It includes all the methods necessary to communicate with an attached iOS device.

There's also a C++ wrapper for it that's a bit easier to use, especially for detecting the device in the first place. It also includes methods specifically for jailbreaking, but they're not required.

http://code.google.com/p/independence/source/browse/trunk/libPhoneInteraction/PhoneInteraction.cpp?r=323

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文