MKMapView.ShowsUserLocation MKMapView.ShowsUserLocation Property


Shows the user's location.

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

Property Value


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