I am a newbie in sencha and using sencha touch 2.0 to develop an app that is compatible with IOS.
In have a functionality like when using the app in phone, when no connectivity I need to display an alert. I tried with window.navigator.onLine. But it worked in browser not in Iphone. Kindly let me know is there any other way to implement this using sencha's library?
Even navigator.network.isReachable("http://www.google.com", reachableCallback, {});
is not working.
Can you please help??