userTrackingMode
The mode to use for tracking the user’s location.
Declaration
var userTrackingMode: MKUserTrackingMode { get set }Discussion
Setting the tracking mode to MKUserTrackingMode.follow or MKUserTrackingMode.followWithHeading causes the map view to center the map on that location and begin tracking the user’s location. If it’s zoomed out, the map view automatically zooms in on the user’s location, effectively changing the current visible region.
For possible values, see MKUserTrackingMode.