Log in

View Full Version : Network Reachability on The iPhone


Jeff Campbell
01-08-2010, 07:00 PM
<div class='os_post_top_link'><a href='http://www.tuaw.com/2009/12/30/iphone-devsugar-improved-network-reachability-routines/' target='_blank'>http://www.tuaw.com/2009/12/30/ipho...ility-routines/</a><br /><br /></div><p><em>Apple makes it clear: when applications rely on network connectivity, they must always test for a valid connection and report those results to the user. If the app cannot reach the Internet, the user needs to know. App Store reviewers regularly reject applications that do not test, and when a connection is not found, report that the network cannot be accessed.</em></p><p><img src="http://images.thoughtsmedia.com/resizer/thumbs/size/600/at/auto/1262971254.usr105634.jpg" /></p><p><em>Image Credit: Tympanus.net</em></p><p>Andrew Donoho, an iPhone developer, wasn't really happy with Apple's reachability code so he created his own, and <a href="http://blog.ddg.com/?p=24" target="_blank">posted it</a> so others can use it as well. He has written up how to incorporate his code into any testing you need to do without having to go through the frustrations he experienced.&nbsp;</p>