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!