Editar

Compartir a través de


MKMapView.ShowsUserLocation Property

Definition

Shows the user's location.

public virtual bool ShowsUserLocation { [Foundation.Export("showsUserLocation")] get; [Foundation.Export("setShowsUserLocation:")] set; }
member this.ShowsUserLocation : bool with get, set

Property Value

Attributes

Remarks

Uses Core Location internally to locate the user. Therefore setting this property to true will result in the user being prompted to allow location.

Applies to