permalink

Must notify the user on internet connection failures

Submitted by Chris Hitchcock:

When the device is not connected to a network and the user attempts to view additional details on the web, your application does not load its contents and stays blank.  This behavior might lead to user confusion.  It would be appropriate to display either a notification or an alert stating that internet connectivity is required.

This site is for less-obvious rejection rules, but this rule causes such a large volume of rejections that it’s worth including because it so frequently hits even the best developers.

Any network-access attempts:

  • must show an error message if a network connection isn’t available
  • must not show an error message if a connection is available

Keep in mind that the Reachability code is not reliable enough to be used as the sole source of connectivity information: sometimes it reports no connection when there is one, and sometimes it reports a connection when it’s not fully present or not usable for a complete connection. Always respond properly to UIWebView’s and NSURLConnection’s error-related delegate callbacks.