Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5847753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:45:47+00:00 2026-05-22T12:45:47+00:00

What do you think would be the best way to handle no network connectivity?

  • 0

What do you think would be the best way to handle no network connectivity?

My future app heavily relies on network and without it there will be nothing to do with it.

I see apps handling the situation in different ways.

When I don’t have connection the ebay app for example sometimes pulls the last saved data, but some other time it just clears everything out. Paypal app will either log me out or it will just crash. One of the news app will just keep say loading…

Is there any best practicies out there?

Should the app keep trying and display loading message, add a refresh button or just close the app automatically?

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T12:45:48+00:00Added an answer on May 22, 2026 at 12:45 pm

    What the proper handling of “no network” condition is, entirely depends on your application.

    Two things to keep in mind: programmatically closing an app or not handling smoothly the “no connection available” case are both reasons for rejection in the Apple review process.

    Having had experience with designing an app that also heavily depended on network being available, I would say that best practice can be summarized in the following:

    1) use the Reachability framework to detect what kind of connectivity you have; the version I link to is to be preferred to the one provided by Apple, which is buggy (search S.O for more on this);

    2) each time you need data from the network, check whether connection is back (i.e., not just once at the beginning);

    3) always inform the user that no network is available, when this occurs, either by displaying an alert, or better showing some other kind of icon/messaging; the least intrusive kind of display is best, so to not disrupt the user’s workflow;

    4) if you have cached data and this makes sense, use cached data when no network connection is available (this will make the app “partially usable” in such cases as well);

    5) offer the user a button to refresh the data, if this make sense for your app;

    This said, the simplest implementation of this “best practice” is an app that in case no connection is available, gets the user back to the “main screen” (ugly, but it could be the only sensible thing in your app). Full implementation is, say, an rss reader caching all the news and allowing you to read them even when no connection is there (without loading newer data, obviously).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering what would be the best way to handle errors in an
I have the following situation I think would be best to show in sample
This is something that I think would be very useful. Basically, I'd like there
What's the best way to handle exceptions that happen from within a controller's constructor?
What is the 'best' way to handle the html markup for partial views? (which
I am trying to figure out what is the best way to handle dependencies
I am wondering the best way to handle blocking computers after the users commit
How is the best way to handle messages through a server to multiple devices?
I'm starting a project which I think would benefit from bindings (I've got a
I am struggling trying to perform what I would think would be a relatively

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.