With the MKMapView
there's an option called "Show users current location" which will automatically show a users location on the map
.
I'd like to move and zoom to this location when it's found (and if it changes).
The problem is, there doesn't appear to be any method called when the user location is updated on the map
, so I have nowhere to put the code that will zoom/scroll
.
Is there a way to be notified when an MKMapView
has got (or updated) the user location so I can move/zoom to it? If I use my own CLLocationManager
the updates I get do not correspond with the updates of the user marker on the map, so it looks silly when my map moves and zooms seconds before the blue pin appears.
This feels like basic functionality, but I've spent weeks looking for a solution and not turned up anything close.