i just finished my first app which is a fullscreen view of my web app. it works fine and i was about to submit it but i noticed that apple requires network Reachability. I have tried many ways of doing this, both seating for the network and finding the UIWebViews errors but none have worked. If anyone can give me the link to a working tutorial or explain this to me, it would be much appreciated… thanks! BTW- I am using a single view application
Share
I uploaded an app to the store without Reachability, but later I read on the Apple Documentation that a message to the user is required when there’s no connection to the internet (however my app was approved). I think Apple is not much strict about this, but it is a good programming practice to provide some feedback to the user when something goes bad.
So, I strongly recommend you to use Reachability in your project.
Here’s the Apple sample code: http://developer.apple.com/library/ios/#samplecode/Reachability/Introduction/Intro.html
If you use the code above you could implement somethig like this:
Remember to import the Rechability files
If you’re developing with the new ARC feature, here’s a modified version of Reachability: https://github.com/tonymillion/Reachability (The page provides good sample code)
I’ve use both versions and they work pretty well.
Happy coding.