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.

Final challenge: Transit ETA annotation

Final challenge: Transit ETA annotation - iOS Tutorial

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

Start my 1-month free trial

Final challenge: Transit ETA annotation

- [Instructor] For your last challenge, you'll add one more feature to your app. Besides using Apple Maps for transit, you can get transit ETA within map get using the calculate ETA method. It works the same as calculate we use to get the directions, except it has a different handler, which has a response type of MK ETA response. That has a property of expected travel time, which is in seconds. Your challenge is for a transport type of transit instead of going to Apple Maps, print a destination annotation with the ETA as the subtitle. When you click the accessory button in the annotation, go to the map. Go ahead and try this out.

Contents