ios – 整个专属网络和CNSetSupportedSSID如何工作?

ios – 整个专属网络和CNSetSupportedSSID如何工作?,第1张

概述我读了 documentation,它说: By calling the CNSetSupportedSSIDs function, an application can register a list of wireless network SSIDs with Captive Network Support, thereby assuming responsibility for authen 我读了 documentation,它说:

By calling the CNSetSupportedSSIDs function,an application can register a List of wireless network SSIDs with Captive Network Support,thereby assuming responsibility for authenticating with those networks. Typically when a user joins a captive network,Captive Network Support provIDes a web sheet that allows the user to authenticate with the network. If an application has registered the SSID of the captive network,however,the web sheet is suppressed,and the user can complete authentication in the appropriate application

“用户可以在适当的应用程序中完成身份验证”的含义是什么意思?

>用户是否应启动此应用进行身份验证?如果是这样,用户会以某种方式得到通知,他/她应该这样做吗?
> iOS会启动此应用程序,以便用户可以进行身份​​验证吗?
>该应用程序会收到一些回调吗?

如果一个应用程序已经注册处理捕获网络而另一个应用程序尝试访问Web,当用户尚未通过身份验证时,我对它应该如何工作特别感兴趣.

解决方法 看起来公共API对您没有太多帮助.它会抑制消息,但用户应手动启动另一个应用程序进行登录.

但是,有一个特殊权利“com.apple.developer.captivenetworkPlugin”,它使您可以在captivenetwork框架中使用一堆私有API来构建一个真正的强制插件.有些公司与Apple合作(https://devforums.apple.com/message/792112#792112).但是,它不是一个广泛可用的API.

BTW.以下是一个反向设计其中一个应用程序的人的其他信息:
http://kalapun.com/posts/reverse-engineering-ios-app/

总结

以上是内存溢出为你收集整理的ios – 整个专属网络和CNSetSupportedSSID如何工作?全部内容,希望文章能够帮你解决ios – 整个专属网络和CNSetSupportedSSID如何工作?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/web/1107323.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-28
下一篇2022-05-28

发表评论

登录后才能评论

评论列表(0条)

    保存