Working around the issue of being unable to acquire WiFi signal strength in iOS

纵饮孤独 提交于 2020-07-03 12:59:41

问题


I have an iOS app that I had intended on adding a feature which shows WiFi bars to show the user their WiFi signal strength while the app is in full screen. As I have learned recently, it is not possible to include a feature in an iOS app which allows you to show the signal strength of the connected wireless network since Apple does not allow this unless you sign up to register for Apple's NEHotspotHelper and this is not a normal use case for this API.

To work around this issue, is there some way of still showing the user that their WiFi connection isn't good? Could I measure the latency of the connection is some way to show an alert saying the connection is bad? Are there any other symptoms of a poor wireless connection that I could measure to still implement this function in my app?

来源:https://stackoverflow.com/questions/62613242/working-around-the-issue-of-being-unable-to-acquire-wifi-signal-strength-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!