Building with the Navigation SDK on iOS
summary
Shows a working SwiftUI app wired to the Mapbox Navigation SDK: installs MapboxNavigation, uses a NavigationProvider and RoutingProvider to request a route from hardcoded pickup/destination, starts a trip session to enter active guidance, and displays a UIKit NavigationMapView via UIViewRepresentable. Orders spawn after 5 seconds, routing simulates a 2 second delay, and location/root updates emit roughly every second. The demo builds turn‑by‑turn UI, draws the route, simulates movement, surfaces route progress and visual instructions, and the simulated navigation completes successfully.
AI-written summary · about
chapters (11)
- 0:00Introduction and logistics
- 1:10Project goals and architecture
- 3:24Setting up the model
- 6:48Building the map view
- 10:23Implementing navigation flow
- 14:03Building the UI panel
- 17:21Connecting map and state
- 25:10Adding status details
- 29:16Adding navigation instructions
- 34:29Code review and recap
- 37:42Q&A and closing








