The QuickConnectFamily framework has both JavaScript and Objective-C for a reachability implementation that you could scalp. You will find it in the iPhone template.
Lee On Mar 11, 10:57 pm, Sean Gilligan <[email protected]> wrote: > Kelvin Wu wrote: > > This reachability test is required only before use, or have to check > > anytime during use? A small piece of native code is good enough if it > > is only required before use, otherwise iUI needs to implement such > > check for any Ajax calls it fires. > > I don't know how thorough Apple is with their requirements. The native > code might be able to cover the UIWebView when it detects an issue. > Better error handling for iUI ajax calls is on the roadmap, so this > could be one test case for that feature. > > I'm looking for info on best practices both with respect to Apple's > requirements and generally usability. I'm interested in knowing what > approaches have been tried, what's been approved, and what's been > successful with actual users in the field. > > I've got a short term need for my current hybrid app, but I'd also like > to know the best long-term solutions (preferably pure JavaScript that > would work either in a hybrid app or in webapp/cached mode.) > > -- 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 at http://groups.google.com/group/iphonewebdev?hl=en.
