MKMapView.UserTrackingMode Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies if and how the map should track the application user's position.
public virtual MapKit.MKUserTrackingMode UserTrackingMode { [Foundation.Export("userTrackingMode")] get; [Foundation.Export("setUserTrackingMode:")] set; }
member this.UserTrackingMode : MapKit.MKUserTrackingMode with get, set
The default value is None.
- Attributes
Setting this property to either Follow or FollowWithHeading causes the MKMapView to begin centering and zooming the map to the application user's location.
- <xref:UIKit.MKMapView.SetUserTrackingMode>