How to verify network connectivity in objective-c

I was looking over the Reachability sample project on developer.apple.com and found that it was a large project just to verify you had network connectivity.

First part of the question is "What is the minimum code required to find out if the device can reach a 3G or wifi network?"

And next should this be done inside the appDelegate (on start) or inside the first View Controller that is launched?

Thank you in advance

6
задан Toastor 15 February 2011 в 19:31
поделиться