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

  • SEARCH
  • Home
  • 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 8590477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:18:11+00:00 2026-06-11T23:18:11+00:00

Possible Duplicate: My app remain when network down When the network connectivity is down,

  • 0

Possible Duplicate:
My app remain when network down

When the network connectivity is down, the data loading from internet makes my app to be in a slow state. Is there any way to fix this problem.

  • 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-06-11T23:18:12+00:00Added an answer on June 11, 2026 at 11:18 pm

    You can check for internet wherever its convenient, it can be in the viewDidLoad or didFinishLaunching methods
    below is the example code i use to check for internet connection

    - (BOOL) connectedToNetwork
    {
        Reachability *r = [Reachability reachabilityWithHostName:@"www.google.com"];
        NetworkStatus internetStatus = [r currentReachabilityStatus];
        BOOL internet;
        if ((internetStatus != ReachableViaWiFi) && (internetStatus != ReachableViaWWAN)) {
            internet = NO;
        } else {
            internet = YES;
        }
        return internet;
    } 
    

    Apple provide the Reachability sample application to show how you can test for network availability .. with the below code you can accomplish auto reachability

    if ([[Reachability reachabilityForLocalWiFi] currentReachabilityStatus] == ReachableViaWiFi)
    {
        // perform action that requires a local WiFi connection
    }
    else
    {
        // give a message that local WiFi is required
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: launch facebook app from other app I was wondering if there is
Possible Duplicate: launch facebook app from other app I'm looking to see if it
Possible Duplicate: Starting iPhone app development in Linux? Is there a way to use
Possible Duplicate: Make iPhone app paid version replace free version on install from app
Possible Duplicate: Reading dll.config (not app.config!) from a plugin module. I have two different
Possible Duplicate: A .net wrapper for Google App Engine? is there a C# .net
Possible Duplicate: launch facebook app from other app Im a beginner with facebook api
Possible Duplicate: Launch an app from within another (iPhone) I have designed sample applications
Possible Duplicate: Create Browser-Bookmark from app I have tried to create a bookmark for
Possible Duplicate: How to check network type in iPhone app I would like to

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.