Routing With MapKit and Core Location

Learn how to use MapKit and CoreLocation to help users with address completion and route visualization using multiple addresses. By Ryan Ackermann.

Leave a rating/review
Download materials
Save for later
Share
You are currently viewing page 4 of 4 of this article. Click here to view the first page.

Where to Go From Here?

Download the completed version of the project using the Download Materials button at the top or bottom of this tutorial.

To recap what you learned:

  • Leveraging the current location provides context to your app.
  • MKLocalSearchCompleter provides a rich user experience when searching for an address.
  • MKDirections offers the ability to showcase the steps it takes to get from one place to another.

To improve the app further, try allowing the user to select different transportation types or add more destination text fields. Another fun idea could be highlighting the selected step in the map view when the users tap a row in the table view.

MapKit is a powerful framework. You can display static snapshots of areas, show indoor maps and much more. Take a look a the MapKit documentation to see everything you have to work with.

I hope you enjoyed this tutorial. If you have any questions or comments, please join the discussion below!