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

Unlock the full course today

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

Challenge 2: Add more annotations

Challenge 2: Add more annotations - iOS Tutorial

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

Start my 1-month free trial

Challenge 2: Add more annotations

- [Instructor] We've completed our work on annotations and coordinates, so I'll give you a challenge now. If you did the challenge from earlier, you had two other locations; one in Chicago and one in Beverly Hills. I have two things I'd like you to do. In the view controller comments, you'll find Chicago II and Beverly Hills II under the addresses I gave you earlier, and you'll find those coordinates. Add these locations for annotations using the resources I've already given you. For the pizza photo, place a default image of the pizza pin icon whenever the pizza photo is nil, and leave both of these locations nil. To save you some typing, there's a file, ExtraPizza.txt, to help you with the download files. If you don't have access to the download files, here's the text for the Chicago one, and here's the Beverly Hills one. If you get stuck, go back to the earlier examples, or go ahead and look at the solution.

Contents