Skip to content

tomtom-international/tomtom-navigation-ios-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TomTom Navigation iOS SDK Examples

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.

Development setup

Before beginning, make sure you have Xcode 13 or 14 installed.

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.

API Keys

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"
}

Troubleshooting

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 the Keys.swift file.
  • Check that your API key is valid for the requested features
  • Check your internet connection