We’ve arrived at day 78 of the 100 Days of SwiftUI. Yesterday, we had a milestone challenge that focused on what we’ve learned over project 13 through 15. Today, we expand on that challenge.
Time for MapKit SwiftUI challenge
Yesterday you built a new app that imports photos from the user’s library, and hopefully you’re pleased with the finished product – or at least making great progress towards the finished product.
But your boss has come in and demanded a new feature: when you’re viewing a picture that was imported, you should show a map with a pin that marks where they were when that picture was added. It might be on the same screen side by side with the photo, it might be shown or hidden using a segmented control, or perhaps it’s on a different screen – it’s down to you. Regardless, you know how to drop pins, and you also know how to use the center coordinate of map views, so the only thing left to figure out is how to get the user’s location to save alongside their text and image.
Hacking with Swift, Paul Hudson (@twostraws)
I’ll be coming back to this SwiftUI challenge after I’ve finished the course. Stay tuned!
100 Days of SwiftUI – Day 78