SDK for iOS Developer's Guide

Network Access

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

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