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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:42:24+00:00 2026-06-10T15:42:24+00:00

Okay. My app depends on having an active internet connection. When there isn’t one,

  • 0

Okay. My app depends on having an active internet connection. When there isn’t one, you may as well not be using it. Originally I was just going to present the user an alertView with options “retry connection” and “close app”, but after a little research I found that Apple frown on apps closing themselves. So instead I decided to present an alertView with options “retry connection” and “wait”, where the wait would take you to a relatively dull viewController, which would check for an internet connection periodically (once every 15 seconds or so). The idea of that is to bore the user into exiting the app for me with the home button, or to resume gameplay on the off chance the internet connection is re-established.

However, as you can imagine the internet access could go at any given time (when you’re on any given view controller). This means that using segues is out of the question, because I would have to do a stupid amount of them, all going from every viewController to this one wait viewController.

Got any ideas? Is there a [self gotoViewControllerWithTitle:@”wait”]; command I don’t know about?

I was thinking I could make all of my internet related stuff happen in one view controller I guess and just pass values to the other VCs if it came to it, but that seems very limiting/infantile.

Thank you in advanced and any help is appreciated :).

  • 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-10T15:42:25+00:00Added an answer on June 10, 2026 at 3:42 pm

    Have your app delegate detect no internet, and present your Modal “No Internet” view controller. Then when internet returns “dismissModalViewController” and hey presto, your previous view controller is underneath.

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

Sidebar

Related Questions

Okay, I am using a custom tab bar (not a tab based app) but
Okay so I've setup an app which works fine but there's one problem when
Okay this is my first WPF app and I am having a hard run
Okay, when my app starts it has two tabs, and one action in the
Okay, so I'm working on an android app. In one of my app's activities
Okay, so I'm working on an iPhone app with a preferences-esque section where there's
Okay, here is one weird bug... In my app, I load multiple xml files.
Okay say your using a app, and you opened a new activity and then
My app works okay on the device, but not the simulator. When I run
Okay, first off, I am build a web app using AngularJS and node.js. I

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.