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 7797143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T23:35:24+00:00 2026-06-01T23:35:24+00:00

i just finished my first app which is a fullscreen view of my web

  • 0

i just finished my first app which is a fullscreen view of my web app. it works fine and i was about to submit it but i noticed that apple requires network Reachability. I have tried many ways of doing this, both seating for the network and finding the UIWebViews errors but none have worked. If anyone can give me the link to a working tutorial or explain this to me, it would be much appreciated… thanks! BTW- I am using a single view application

  • 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-01T23:35:26+00:00Added an answer on June 1, 2026 at 11:35 pm

    I uploaded an app to the store without Reachability, but later I read on the Apple Documentation that a message to the user is required when there’s no connection to the internet (however my app was approved). I think Apple is not much strict about this, but it is a good programming practice to provide some feedback to the user when something goes bad.

    So, I strongly recommend you to use Reachability in your project.

    Here’s the Apple sample code: http://developer.apple.com/library/ios/#samplecode/Reachability/Introduction/Intro.html

    If you use the code above you could implement somethig like this:

    //Check connection
    Reachability *r = [Reachability reachabilityWithHostName:@"m.google.com"];
    NetworkStatus internetStatus = [r currentReachabilityStatus];
    if(internetStatus == NotReachable){
    
        NSLog(@"There's no connection");
    
        UIAlertView *errorAlertView = [[UIAlertView alloc]
                     initWithTitle:@"No internet connection"
                     message:@"Internet connection is required to use this app"
                     delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
    
        [errorAlertView show];
    
    }else
        NSLog(@"Internet connection is OK");
    

    Remember to import the Rechability files

    #import "Reachability.h"
    

    If you’re developing with the new ARC feature, here’s a modified version of Reachability: https://github.com/tonymillion/Reachability (The page provides good sample code)

    I’ve use both versions and they work pretty well.

    Happy coding.

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

Sidebar

Related Questions

I've just finished my first "real" APEX app but it's looking a bit messy.
I have a website that is finished and uploaded, at first it works fine
i just finished my first view in my iPhone app and i want to
I have just finished my first app and I want to submit it to
I'm a rails novice and just finished my first rails app(as far as I
Just finished up my first mvc4 app. Everything is working great until I deploy
I just finished this script it works well, but I am struggling to pass
I JUST finished my first app in Xcode 4.3.2 and want to test it
i have just finished my first app and would like to incorporate ad to
I just finished my first web Part for Sharepoint WSS 3.0 and I'm very

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.