Tells the delegate that the location of the user was updated.
- iOS 4.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
The map view that is tracking the user’s location.
The location object representing the user’s latest location. This property may be
shows property is set to
true, this method is called whenever a new location update is received by the map view. This method is also called if the map view’s user tracking mode is set to
MKUser and the heading changes.
This method is not called if the application is currently running in the background. If you want to receive location updates while running in the background, you must use the Core Location framework.