0

I have a question about MapKit. I set the userTrackingMode property to move the map according to the user position update.

 [_mapView setUserTrackingMode:MKUserTrackingModeFollowWithHeading animated:YES];

Is there a way to be alerted when you exit from this mode?

mc110
  • 2,825
  • 5
  • 20
  • 21
Safari
  • 11,437
  • 24
  • 91
  • 191

1 Answers1

1

From the Apple Docs on MKMapViewDelegate Protocol:

mapView:didChangeUserTrackingMode:animated:
Tells the delegate that the user tracking mode changed.

  • (void)mapView:(MKMapView *)mapView didChangeUserTrackingMode:(MKUserTrackingMode)mode animated:(BOOL)animated
Stonz2
  • 6,306
  • 4
  • 44
  • 64