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.
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:
- Where is the user along a route?
- Should the user be rerouted?
- 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.