Copyright (c) 2011-2020 HERE Europe B.V.
This repository holds a series of Objective-C and Swift projects using the HERE Mobile SDK for iOS. More information about the API can be found on developer.here.com under the Android & iOS SDKs section.
This set of self-contained, use-case based projects is designed to be cloned by developers for their own use.
Note: In order to get the sample code to work, you must replace all instances of
{YOUR_APP_ID}
,{YOUR_APP_CODE}
and{YOUR_LICENSE_KEY}
within the code and use your own HERE credentials.
You can obtain a set of credentials from the Contact Us page on developer.here.com.The bundle ID registered must match it in your app.
Unless otherwise noted in LICENSE
files for specific files or directories, the LICENSE in the root applies to all content in this repository.
All of the following projects use version 3.15 of the HERE Mobile SDK for iOS (Premium)
- AutoSuggest - Send different types of AutoSuggest requests.
- Geocoding and Reverse Gecoding - Trigger a Geocode and Reverse Geocode request in HERE Mobile SDK.
- Here Positioning - Use HERE location data source.
- Map Attribute - Map attributes manipulations.
- Map Customization - Customize the map scheme.
- Map Downloader - Download offline map data.
- Map Gestures - Define custom gesture actions.
- Map Objects - Add map objects onto HERE map.
- Map Raster Tile - Add custom raster tiles onto map.
- Map Rendering - Display the HERE map on a device.
- Routing - Create a route from HERE Burnaby office to Langely BC and display it on the map.
- Route TTA - Calculate TTA (time to arrival) for a route.
- Search - Send different types of search requests.
- Turn-by-Turn Navigation - Trigger a turn-by-turn navigation from HERE Burnaby office to Langley BC.
- Here Mobile SDK UI Kit - Use the HERE Mobile SDK UI Kit (MSDKUI 2.0) to show maneuver instructions, speed limits and current speed.
-
Run "pod install" or "pod update" in the application's root directory to install the HERE Mobile SDK.
-
In the "General" settings of the App target:
- Select an eligible provisioning profile or enable "Automatically manage signing".
-
In
AppDelegate.m
:- Enter an app id, app code and license key.
-
In the "General" settings of the App target:
- Select an eligible provisioning profile or enable "Automatically manage signing".
- Add NMAKit.framework to the "Embedded Content" section in Xcode. Otherwise you will get a "dyld: Library not loaded: @rpath/NMAKit.framework/NMAKit" error at runtime.
-
In the "Builds Settings" of the App target:
- Ensure "Frameworks Search Paths" includes the location of
NMAKit.framework
. Drag and dropNMAKit.framework
to $(PROJECT_DIR) in case of import error.
- Ensure "Frameworks Search Paths" includes the location of
-
In
AppDelegate.m
:- Enter an app id, app code and license key.
- Xcode 11 or above
- HERE Mobile SDK for iOS (Premium) Version 3.15 or above
- iOS 12 or above