How to use Reachability class to detect network status?

iphone-sdk-3.0, network-programming, objective-c, reachability

Solution

You can start with Reachability sample application. There is also some entries on SO that are about the subject.

Problem

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.

Original source

Related problems