1

这听起来可能有点奇怪,所以我必须告诉你我为什么要制作这个应用程序。我刚买了一台非常旧的 iMac,它的处理能力非常低。我正在尝试为我的 iPod Touch 制作一个应用程序,让它充当 OS X Panther 的外部处理器。我几乎所有事情都解决了,但我需要 iPhone 能够直接与我正在制作的 OS X 应用程序交互,就像 iTunes 一样。

需要明确的是,我只希望 iPod 作为外部处理器工作,方法是将数据从我的 OS X 应用程序移动到 iPod 应用程序,完成代码块,然后将其发送回(这是最简单的部分)。它不必与任何其他 OS X 应用程序一起使用。我需要知道的是如何通过电缆将数据直接发送到我的 iOS 应用程序。如果无法做到这一点,我有一个备份数据传输解决方案,但电缆会快得多。有任何想法吗?

4

1 回答 1

2

Good idea, don't post good idea's online ;-)

I'm going to tell you up front; unless you are lucky I don't think you will be able to get this to work.

I know that someone once found out that iTunes uses some kind of daemon program to communicate with your iDevices. I'm not sure if this is still true, but that daemon is undocumented but 'available'. I have no more clues than this, maybe you get lucky and find something on Google.

I'd go with wireless communication, I don't think speed is such an issue if we're talking about small instruction sets.

Also there's this, but I'm not sure if that will be of any help to you.

UPDATE: found this post: Where is the mount point for the iPod/iPhone in Mac? Which should help you write to the iDevice disk. You should be able to continuously look for filesystem updates on your device to process the data, and vice versa, to establish some kind of transfer system.

于 2012-05-07T14:21:37.060 回答