MKMapView.ShowsUserLocation Property
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.
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.