通过 wifi 将 iOS 应用程序连接到 Mac 应用程序?类似于 iTunes 遥控器? [英] Connect iOS app to Mac app over wifi? Similar to iTunes Remote?

查看:25
本文介绍了通过 wifi 将 iOS 应用程序连接到 Mac 应用程序?类似于 iTunes 遥控器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以通过 wifi 将 iOS 应用程序与 Mac 应用程序连接起来,就像远程和 iTunes 一样,将设备配对以便它们可以相互通信?

I'm wondering if it's possible for me to connect an iOS app with a Mac app over wifi, in a similar way to remote and iTunes, where it pairs the devices up so they can communicate with each other?

推荐答案

是的,你可以.使用 Bonjour 进行搜索和发现.这很容易,并且可以通过 wifi 工作.

Yes you can. Use Bonjour for search and discovery. It's easy and will work through the wifi.

编辑

查看代码示例的答案https://stackoverflow.com/a/3242187/277021

这篇关于通过 wifi 将 iOS 应用程序连接到 Mac 应用程序?类似于 iTunes 遥控器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆