连接到WiFi网络编程中的ios [英] Connect to WiFi programmatically in ios

查看:249
本文介绍了连接到WiFi网络编程中的ios的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是关于IOS私有API。有一些API来管理WiFi连接?比如我使用Apple80211.framework扫描WiFi网络,但它不能用于连接。

My question is about private API in IOS. Is there some API to manage WiFi connection? For example I'm using Apple80211.framework to scan WiFi networks but it's unusable for connecting.

我的应用程序是不是AppStore的。

My app isn't for appstore.

推荐答案

我遇到了这个问题,去年相当多的挖掘之后,我遇到所谓SOLStumbler一个有用的例子来。对于这个应用程序的工作您的设备必须越狱。我修改SOLStumbler,并投掷了一个示例应用程序在GitHub上。它使用IPConfiguration捆绑访问Apple80211框架,它可以让你联想到网络。自述文件包含自定义生成的指令。

I ran into this issue last year and after quite a bit of digging I came across a helpful example called SOLStumbler. For this app to work your device must be jailbroken. I modified SOLStumbler and threw up a sample app on github. It uses the IPConfiguration bundle to access Apple80211 framework, which allows you to associate to a network. The readme contains the custom build instructions.

https://github.com/devinshively/wifiAssociate

这篇关于连接到WiFi网络编程中的ios的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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