使用给定的SSID和密码在ios中以编程方式连接到特定的wifi [英] connect to a specific wifi programmatically in ios with a given SSID and Password

查看:758
本文介绍了使用给定的SSID和密码在ios中以编程方式连接到特定的wifi的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能使应用程序连接到ios中的wifi点,前提是应用程序知道名称/ SSID和密码。

is it possible to make an application connect to a wifi spot in ios, provided that the app knows the Name/SSID and password.

推荐答案

与你在这里和其他地方所看到的相反,你可以做到。但它并不漂亮。这是一个企业管理员的事情,但任何人都可以做到。查找连接配置文件。例如,Comcast在他们的iOS应用程序中为您设置热点。

Contrary to what you see here and other places, you can do it. But it's not pretty. It's an enterprise admin thing, but anyone can do it. Look up "Connection Profiles." Comcast does this in their iOS app to setup their hotspots for you, for example.

基本上,它是一个XML文档,您可以通过Safari或Mail获取设备。有很多技巧,用户体验不是很好,但我可以确认它在iOS 10中有效,并且不需要越狱。您使用Configurator生成XML,我建议此主题提供服务,并此博客查询是否已安装。

Basically, it's an XML document that you get the device to ingest via Safari or Mail. There's a lot of tricks to it and the user experience isn't great, but I can confirm that it works in iOS 10 and it doesn't require jailbreaking. You use Configurator to generate the XML, and I suggest this thread for serving it, and this blog for querying if it's installed.

这篇关于使用给定的SSID和密码在ios中以编程方式连接到特定的wifi的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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