App Store Tip: Don't Forget to Include Network Error Alerts in Your Code

Wed, 31 Mar 2010 18:32:41 -0400
apple, developer, ios, ipad, iphone, ipod, objective-c

If your application provides functionality that requires access to a network, it's very important that your code include a customer alert or notification when the network is not available.

The Reachability sample application demonstrates how to use the System Configuration Reachability API to monitor the network state of an iPhone or iPod touch. Use this sample code to learn how to detect the absence of Wi-Fi and Wireless Wide Area Network (WWAN) services so your application knows when it's necessary to produce a network error alert.

Your users will appreciate knowing when an application has no network access — and missing "network alerts" is the third most common reason for applications being returned to developers for modification.

Read more app submission tips