关于iPhone/iPad的iOS系统自动弹出认证窗口问题
来源:互联网 发布:战舰世界mac 闪退 编辑:程序博客网 时间:2024/06/05 16:43
前言
路由器,认证服务器,手持无线终端。当通过手持无线设备连接到需要认证的WiFi上,会自动弹出窗口,何解?为什么有的时候就不弹出窗口呢?怎么给商家一个合理的解释呢?
验证问题
通过在路由器上抓包来看弹出窗口的时候都发生了什么? 抓包方法如下http://blog.csdn.net/qianguozheng/article/details/32108093
当弹出认证窗口的时候都发生了什么?
当没有弹出认证窗口的时候,没有弹出认证窗口。
原理剖析
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/Platform-SpecificNetworkingTechnologies/Platform-SpecificNetworkingTechnologies.html
- Register for Captive Network Support
- A captive network is a Wi-Fi network that doesn’t provide Internet access until the user performs some
- action, such as logging in, specifying payment, or agreeing to terms and conditions. Captive networks
- common in public areas, such as airports and hotels.
- When a user joins a captive network, Captive Network Support typically provides a web sheet that allows
- the user to authenticate with the network. If your application registers the SSID of the captive network,
- however, the web sheet is suppressed, and the user can complete authentication in your application.
- For more information, read CaptiveNetwork Reference
https://developer.apple.com/library/ios/documentation/SystemConfiguration/Reference/CaptiveNetworkRef/Reference/reference.html#//apple_ref/doc/uid/TP40009770-CH101-DontLinkElementID_4
- Overview
- The CaptiveNetwork programming interface allows an application to interact with Captive Network Support,
- the system component responsible for detecting networks that require user interaction before providing
- internet access. These networks are most commonly WiFi hotspots in public locations such as airports
- and hotels.
- 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.
- After a user performs authentication in the application that registered the SSID, the application
- should inform Captive Network Support of the result of the authentication with either the
- CNMarkPortalOnline function or the CNMarkPortalOffline function
0 0
- 关于iPhone/iPad的iOS系统自动弹出认证窗口问题
- 关于iPhone/iPad的iOS系统自动弹出认证窗口问题
- 关于弹出消息窗口的自动关闭
- ios 关于如何获取iphone或iPad的ip地址
- 【IOS】关于ipad和iPhone尺寸的分辨率
- Ipad/Iphone键盘输入慢、切换数字键盘慢的问题-iOS
- 关于iPhone和iPad的图标设置问题
- iOS 判断iphone ipad 系统版本
- iOS 判断iphone ipad 系统版本
- iOS 判断iphone ipad 系统版本
- ipad弹出窗口
- ios(iphone/ipad)重新弹出“推送申请对话框”
- 关于iOS 10以上调用系统拨打电话方法,弹出框弹出变慢的问题
- iOS(iPhone/iPad) 屏幕旋转响应函数的缺点与窗口大小位置调整,以及解决办法
- iphone 与 ipad 的自动布局
- 关于app iPad上无法自动翻转的问题
- 关于禁止iPhone自动锁定的问题
- IOS系统下(iPhone、iPad)滚动条不能用(失效)问题
- .NET中zip的压缩和解压
- 二、UNIX网络I/O模型
- 判别式模型与生成式模型
- Google Guava 类库简介
- 数据库表分割技术浅析(水平分割/垂直分割/库表散列)
- 关于iPhone/iPad的iOS系统自动弹出认证窗口问题
- HTML5定稿了,手机App三年内消失?
- 纸上谈兵:c++细节
- UIImagePickerController拍照与摄像
- C#中常用的几种读取XML文件的方法
- 第四章 键盘的过滤(1)
- 红米Note4G TD/W版 专用TWRP2.8.1.5中文版(TTF字体,支持多国语言)
- qt 应用程序加载的一些宏
- 黑马程序员——JAVA基础---BufferedReader读取行的原理 以及 自己实现