如何使用Apple SDK以编程方式检测和连接到Wifi网络 [英] How to detect and connect to a Wifi network programmatically using Apple SDK

查看:213
本文介绍了如何使用Apple SDK以编程方式检测和连接到Wifi网络的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何以编程方式检测并连接到Wifi网络,就像WifiFoFum应用程序在Apple Store中一样。此应用程序已获批准并最近更新,因此必须有合法的方法来执行此操作。
如果有人知道这样做的话,请发布一个代码片段......即使它是一个未记录的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屋!

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