Hello and welcome to this repository with examples showcasing the TomTom Navigation SDK for iOS.
Note Navigation SDK for iOS is only available upon request. In order to get access, contact us.
Once you have obtained access, do the following:
- Install Xcode >=16.0.
- Set the iOS deployment target to at least 14.0.
SPM or CocoaPods can be used to install the Navigation SDK. Both configurations are available in the examples. Please navigate to the related directory and find the project setup configuration.
In order to manage, create or delete your API keys, you need to have a TomTom Developer Portal account. If you don't have one, you need to register for one. Follow the steps from How to get a TomTom API Key to learn how to create an API key.
Note Using an invalid API key will cause issues loading the map or running navigation.
In order to insert your API key in the project, you need to change the Keys.swift
file.
enum Keys {
static let apiKey = "YOUR_API_KEY"
}
If you have a black screen when launching the Basic driving app, please follow the steps below.
- Check that you have updated the
API key
with yours in theKeys.swift
file. - Check that your
API key
is valid for the requested features - Check your internet connection