How to implement Reachability class
<p>I want to add the Reachability class to my app. I went through tutorials and examples available on net. But still they give errors. I followed this link. <a href="http://stackoverflow.com/questions/1083701/how-to-check-for-an-active-internet-connection-on-iphone-sdk">How to check for an active Internet Connection on iPhone SDK?</a></p>

<p>But I am getting error in this also. I want concrete solution on this.</p>

<p>If somebody can mention the good tutorial or example, I would highly appreciate it.</p>

<p>I want to know that,if network connection is broken in between the transferring, due to power failure (in case of wifi), or bad connection (in case of 3G), does this Reachability class have methods for that ?</p>

<p>Errors:</p>

<p>1)Use of undeclared identifier NotReachable.
2)Use of undeclared identifier ReachableViaWiFi.
3)Use of undeclared identifier ReachableViaWWAN.</p>
