问题
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