use apple Reachability source code in your project.

  1. copy "Reachability.h","Reachability.m" in your project directory.
  2. add "SystemConfiguration.farmework" in your build target.
  3. if you get some build error,read this link:http://stackoverflow.com/questions/10119239/adding-reachability-class-fails-when-i-am-trying-to-build

 

你可能感兴趣的:(Reachability)