Integrate turn-by-turn navigation into your iOS app

Bobby Sudekum
Tue, 24 Jan 2017 10:00:00 -0500

We just open-sourced MapboxNavigation.swift, our navigation SDK for iOS applications written in Swift or Objective-C. When your users want directions, don’t push them out of your application into a generic map application; instead, keep them engaged with your application 100% of the time with in-app turn-by-turn navigation. MapboxNavigation.swift is powered by MapboxDirections.swift and our Directions API with realtime traffic. You control the entire experience, from the time your user chooses a destination to when they arrive.

Counting down distance to a maneuver and alerting the user about the next step

We’ve created example applications in both Swift and Objective C, plus detailed documentation. Combine MapboxNavigation.swift with a map powered by our iOS SDK and search powered by MapboxGeocoder.swift for a complete user experience.

What MapboxNavigation.swift provides

On each user location update that comes from Core Location, MapboxNavigation.swift calculates the answer to three basic questions and notifies your code via an NSNotification:

1. Where is the user along a route?

2. Should the user be rerouted?

3. Should the user be informed about an upcoming maneuver?

Check it and let us know what you build. We welcome bug reports and feature requests in the MapboxNavigation.swift repository.