So, I have found that the simplest way to check for an internet connection in the iPhone SDK is not via the "Reachability" classes that are provided through the Apple iPhone example projects.
The easiest is as demonstrated through my video tutorial:
Simply put, you can create an NSString from a URL (in this case it is http://google.com), and check to see if that string then exists or not.
Thanks for visiting my blog!
Showing posts with label easy. Show all posts
Showing posts with label easy. Show all posts
Tuesday, March 16, 2010
Subscribe to:
Posts (Atom)