The mode used to track the user location.
SDKs
- iOS 5.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Map
Kit
Declaration
var userTrackingMode: MKUser Tracking Mode { get set }
Discussion
Possible values are described in MKUser
.
Setting the tracking mode to MKUser
or 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.