Accessibility can only be used to determine if the iPhone has an Internet gateway connection. What is behind the gateway will not tell you. What if the LAN is reachable but you donβt have Internet access? How could the iPhone suggest that what it sees (LAN) is not the whole Internet?
You must make a real request to a real site. If this fails, there is a problem with your Internet connection, and with the Reachability results you can even figure out where the problem is. The easiest way is to make a request with NSUrlRequest, for example, http://www.google.com . (If google dies, you can assume that there are big problems, and then connecting to your application :)
source share