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.
LocationFetcher
설정하기Photo
에 location
속성 추가해서, 사진 저장할 때 위치가 저장되게 하기photos
의 위치대로 지도에 나타내기마지막 커밋 링크
💡 과정은 commit history에서 확인할 수 있습니다.