title: Phonegap Build cordova how to detect no internet connection even wifi connected
body: <p>Using <code>Phonegap Build</code> for <code>iOS</code> application, How to detect if there is no internet connection on the device even a <code>wifi/wireless</code> connection exist and the device itself is connection to wifi connection but no response from the internet.</p>
  
  <p>There is an activity in the application, needs to connect to the internet to get an online image, so the device is connection to wireless connection but no internet response, we want to check that instead of the loader indication icon still appeared!</p>