From e63523431e7769fcfb24131a59aff0f9e99bbc44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Wed, 5 Dec 2018 22:43:03 -0800 Subject: [PATCH] API reference has moved --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index daaf9fad7..d88e96a40 100644 --- a/README.md +++ b/README.md @@ -35,11 +35,11 @@ This repository contains example applications written in Swift and Objective-C t ## Usage -**[API reference](https://www.mapbox.com/mapbox-navigation-ios/directions/)** +**[API reference](https://www.mapbox.com/ios-sdk/api/directions/)** You’ll need a [Mapbox access token](https://www.mapbox.com/developers/api/#access-tokens) in order to use the API. If you’re already using the [Mapbox Maps SDK for iOS](https://www.mapbox.com/ios-sdk/) or [macOS SDK](https://mapbox.github.io/mapbox-gl-native/macos/), MapboxDirections.swift automatically recognizes your access token, as long as you’ve placed it in the `MGLMapboxAccessToken` key of your application’s Info.plist file. -The examples below are each provided in Swift (denoted with `main.swift`), Objective-C (`main.m`), and AppleScript (`AppDelegate.applescript`). For further details, see the [MapboxDirections.swift API reference](https://www.mapbox.com/mapbox-navigation-ios/directions/). +The examples below are each provided in Swift (denoted with `main.swift`), Objective-C (`main.m`), and AppleScript (`AppDelegate.applescript`). For further details, see the [MapboxDirections.swift API reference](https://www.mapbox.com/ios-sdk/api/directions/). ### Calculating directions between locations