Edytuj

Udostępnij za pośrednictwem


MKMapView.SetUserTrackingMode(MKUserTrackingMode, Boolean) Method

Definition

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.

Applies to