On my itouch the spinning gif just carries on forever when I'm off line. Is that the intent, or should there be a notification that the page is only availible when I'm online?
On Apr 27, 4:35 pm, Sean Gilligan <[email protected]> wrote: > Venkatesh CM wrote: > > If you want to detect through WebKit or Safari. You can use > > > |navigator.onLine| > > Which will indicate online or offline > > I think I remember reading that onLine can give false positives (i.e. > that it can say you are online when you really aren't) > > So you might want to double-check that navigator.onLine is reliable > enough for your application. I decided it was not reliable enough for > 'reachability testing' as required by Apple for acceptance into the app > store. > > I started a reachability plugin for iUI that uses ajax calls to make > sure a server can actually be reached. It is a "sandbox" extension and > I have only tested it briefly, but it might be helpful to someone. > > The code is in Mercurial (source control) > here:http://code.google.com/p/iui/source/browse/#hg/web-app/iui/ext-sandbo... > > There is a live demo > here:http://iui-js.appspot.com/iui/ext-sandbox/reachability/reachability-d... > > It requires that you pull an unreleased version of iUI from source > control in order to use it. (or wait for iUI 0.40-dev3) > > -- Sean > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/iphonewebdev?hl=en. -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
