Sets the mode used to track the user location with optional animation.
- iOS 5.0+
- tvOS 9.0+
The mode used to track the user location. Possible values are described in
true, the change from the current mode to the new mode is animated; otherwise, it is not. This parameter affects only tracking mode changes. Changes to the user location or heading are always animated.
Setting the tracking mode to
MKUser causes the map view to center the map on that location and begin tracking the user’s location. If the map is zoomed out, the map view automatically zooms in on the user’s location, effectively changing the current visible region.