在Mac OS X应用程序中通过objective-c扫描Wifi网络 [英] Scan Wifi Networks via objective-c in a Mac OS X app
问题描述
有一个教程,解释如何扫描可用的WiFi网络通过Objective-C在Mac应用程序?我一直在寻找过去几天,但只找到bonjour相关的结果。我读到CoreWLAN框架用于wifi扫描和通信,任何人都可以指导我在这方面吗?
我只是想创建一个程序,扫描可用的wifi路由器周围。然后当我点击任何路由器,它给了我的设备连接到该路由器的列表。是否有可能?
Is there a tutorial available which explains how to scan for available wifi networks via Objective-C in a mac app? I have been searching for the past few days but only found bonjour related results. I read that CoreWLAN framework is used for wifi scanning and communication, could anyone please guide me in this regards? I just want to create a program which scans for available wifi routers around. And then when I click on any of the router, it gives me a list of devices attached with that router. Is it possible?
最好的方法
推荐答案
Apple的开发者网站一个不错的示例项目这里似乎解释使用代码你正在寻找 - 还有一个有点老的教程这里,虽然它仍然可以帮助你。
Apple's Developer site has a nice sample project here which seems to explain using code what you're looking for - there's also a somewhat old tutorial here, though it may still help you along.
这篇关于在Mac OS X应用程序中通过objective-c扫描Wifi网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!