开发者

Transferring images from one iPad to another

I have an app which displays an image when I say some word, and the word is from my dictionary which I had exclusively created for the app.

Now I want that image displayed on my friends iPad simultaneously, w开发者_运维百科hen it shows on my iPad. Is there any way for that?

Thanks and regards,

Christy


If both iPads are in the same local network, you can use cocoahttpserver to run a HTTP-Server on every device and announce the services via Bonjour. Once a new picture is available, that devices connects the server on the other devices and informs it, that new data is available. The second device than will connect the server running on the first device and download the picture. the advantage of this approach: the protocols you are using are well-know and a lot of additionally tools are available.

But you can also have a similar, more downlevel appoach, where you design your own network protocol. In that case I'd use Asyncsocket


Use synchronize image with both ipad using internet or use APN to notify that image is ready.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜