如何使用 Apple SDK 以编程方式检测并连接到 Wifi 网络 [英] How to detect and connect to a Wifi network programmatically using Apple SDK
问题描述
我想知道如何像 Apple Store 中的 WifiFoFum 应用程序那样以编程方式检测并连接到 Wifi 网络.此应用程序已获得批准并最近更新,因此必须有合法的方法.如果有人知道这样做的任何方式,请发布代码片段......即使它是一个未记录的 API 调用并且可能会被 Apple 拒绝.我只需要知道它是否可以完成以及如何完成.谢谢
I wonder how can I detect and make a connection to a Wifi network programmatically just like the WifiFoFum app does in Apple Store. This app has been approved and recently updated so there must be a legal way of doing it. If anybody knows any way of doing it please post a code snippet... even if it is an undocumented API call and would probably be rejected by Apple. I just need to know if it can be done and how. Thanks
推荐答案
我一直在寻找同样的东西,但遗憾的是,这些功能仅在 Apple 不再允许的私有 API 中可用!所以没有找到或连接到网络的官方方法!
I was looking for the same thing but sadly those features are only available in private APIs which Apple does not allow anymore at all! So there is no official way of finding or connecting to networks!
这篇关于如何使用 Apple SDK 以编程方式检测并连接到 Wifi 网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!