MapKit.MKMapView.SetUserTrackingMode Method
Sets the user tracking mode to a value in MapKit.MKUserTrackingMode.

Syntax

[Foundation.Export("setUserTrackingMode:animated:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual void SetUserTrackingMode (MKUserTrackingMode trackingMode, bool animated)

Parameters

trackingMode
The MapKit.MKUserTrackingMode used to track the user's location.
animated
Controls if the change in tracking mode is animated.

Remarks

Used to control if a user's location, heading or both are tracked.

Requirements

Namespace: MapKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0