我想配置非苹果WiFi设备使用iOS应用程序.连接将通过由同一设备创建的WiFi进行。
这里的警告是,在配置应用程序的同时,还必须通过蜂窝网络访问互联网,以获取配置数据。关于这个问题的问题可以在这里找到:Can iOS application use cellular internet connection while doing "Wireless Accessory Configuration" through WiFi?
你对此有什么想法和经验?
发布于 2016-05-19 13:48:42
来自苹果开发者论坛:
eskimo:“
1. user runs Settings to switch to your accessory’s Wi-Fi
2. user runs your app
3. user enters their home Wi-Fi settings (typically the SSID and password) into your app
4. your app passes them to your accessory
5. your accessory tries to join the home Wi-Fi
6. when your accessory shuts down its own AP, iOS should switch back to the home Wi-Fi
这是最好的情况。如果出了问题,比如用户输入错误的密码,这个过程可能会更加混乱。你可以采取一些措施来改善这一点,但现实是,它永远不会像WAC那样顺利。
https://stackoverflow.com/questions/37022810
复制相似问题