How to use Reachability class to detect network status?

隐身守侯 提交于 2019-12-11 02:28:03

问题


I am creating an app which requires internet. I want to use reachability class in my project and I want to detect if user has no internet connection whatever the technique is either wifi, Cellular. I want a step by step guide for this.


回答1:


You can start with Reachability sample application. There is also some entries on SO that are about the subject.



来源:https://stackoverflow.com/questions/2033042/how-to-use-reachability-class-to-detect-network-status

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