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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Yes you can. Use Bonjour for search and discovery. It's easy and will work through the wifi.
EDIT
Look at this answer for code samples https://stackoverflow.com/a/3242187/277021