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 - iOS Tutorial
From the course: Advanced iOS App Development: MapKit & Core Location
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.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
(Locked)
Request directions6m 27s
-
(Locked)
Display graphic directions7m 38s
-
(Locked)
Display step-by-step directions6m 27s
-
(Locked)
Challenge 7: The chosen path27s
-
(Locked)
Solution 7: The chosen path1m 2s
-
(Locked)
Launching the maps app6m 34s
-
(Locked)
Final challenge: Transit ETA annotation45s
-
(Locked)
Final solution: Transit ETA annotation6m 14s
-
(Locked)
-