MKMapView.SetUserTrackingMode(MKUserTrackingMode, Boolean) Method
Definition
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.
Sets the user tracking mode to a value in MKUserTrackingMode.
[Foundation.Export("setUserTrackingMode:animated:")]
public virtual void SetUserTrackingMode (MapKit.MKUserTrackingMode trackingMode, bool animated);
abstract member SetUserTrackingMode : MapKit.MKUserTrackingMode * bool -> unit
override this.SetUserTrackingMode : MapKit.MKUserTrackingMode * bool -> unit
Parameters
- trackingMode
- MKUserTrackingMode
The MKUserTrackingMode used to track the user's location.
- animated
- Boolean
Controls if the change in tracking mode is animated.
- Attributes
Remarks
Used to control if a user's location, heading or both are tracked.