From the course: Advanced iOS App Development: MapKit & Core Location

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Launching the maps app

Launching the maps app - iOS Tutorial

From the course: Advanced iOS App Development: MapKit & Core Location

Start my 1-month free trial

Launching the maps app

- [Narrator] You've built the app and are seeing directions between restaurants. However, I set this app up to work only with automobile directions. What would happen if you were walking or riding the bus? Shut down the app and go back to the find directions method in the view controller swift file. Find where it said automobile and change that to walking. Hit run, go to Chicago and hit find. You get a very different route. Beverly Hills doesn't change at all because it only has one short route. Go ahead and stop the app. Change the transport type again. You'll see transit, type that. Run it again. Once again click Chicago and find. This time we get nothing, but we do get an error. Public transportation directions do not exist in MapKit, only in Apple Maps. While you can get an ETA for MapKit, you can't get the directions. You have to launch Apple Maps. I'll go through the basic launch of Apple Maps. If you want to do more than that, I suggest reading Apple's documentation on…

Contents