MKMapView GPS location question
I am a newbie.. I have a doubt in MapVi开发者_Go百科ew and CoreLocation. How to make the mapview to display "blue dot and circle animation" as in Locate Me action of Maps app? The solution may be very simple, but I don't have much idea about map in iPhone. Help me, pls.
Try this
yourMapView.showsUserLocation=YES;
Put this in your viewforAnnotation Delegate
if (annotation == mapView.userLocation)
{
//You can customize the blue dot current location annotation here
return nil;
}
精彩评论