SDK for iOS Developer's Guide

Network Access

In addition to the user's device connectivity setting, you can also force the HERE SDK to be offline by using the setNetworkAccessAllowed: method in NMAApplicationContext. You can then check for this setting by calling the isNetworkAccessAllowed method.

The NMAApplicationContext class also provides the isOnline method so that you can conveniently check if network access is allowed and the HERE SDK is currently online. You can watch for changes to this value by subscribing to the following notification: