reachability - iOS check network in AppDelegate? -


I have an app that depends on when a network connection is available. I have implemented accessibility code for testing of a network and / or host. However, my question is if I do this check in FinishLaunchingWithOptions Can I just keep a warning that the user needs to network the app And then need to get out of the app? I have read the mixed info on this and I am unsure about how I can get out of the way that Apple is happy and does not reject our app.

If your app can not do anything, show an alert view with a button, unless there is a network connection.

But your app is getting a network connection if someone becomes available, then automatically dismiss the warning view and let the application run normally.

There is no need to force it to end.

Update - Something On the basis of comments:

It would be better to check access to the main view controller. Then it can be smart enough to handle the network deficiency, it does not have any initial network, as well as runs the app Unavailable as a network.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

lua - HowTo create a fuel bar -