November 2013
Intermediate to advanced
576 pages
19h 3m
English
The sample app allows users to drag the green arrow to indicate where they would like to go next, as shown in Figure 2.11.
Figure 2.11 FavoritePlaces sample app: Where I Am Going Next.
When the user drags the green arrow, the map view delegate method mapView:annotationView:didChangeDragState:fromOldState: in ICFMainViewController gets called. That method checks the drag state as described earlier in the chapter in the “Draggable Annotation Views” section, and if the green arrow has stopped being dragged, updates the callout view with a spinner and starts the reverse-geocoding.
ICFFavoritePlace ...
Read now
Unlock full access