Check if iPhone is trying to connect to internet
<p>I want to know if my device is trying to connect to internet eventhough my application is in background or closed. Even if any other application is trying to connect to internet.</p>

<p>I read in a blog that we can register for local notifications, though no sample code was provided for that.</p>
