<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKUserLocationView",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MKUserLocationView"
  },
  "title" : "MKUserLocationView"
}
-->

# MKUserLocationView

A configurable annotation that shows the user’s location using the default MapKit style.

```
class MKUserLocationView
```

## Overview

If you don’t need additional configuration, you can show an annotation with the user’s location by setting [`showsUserLocation`](/documentation/MapKit/MKMapView/showsUserLocation) on the map to `true`.

If you want to specify additional configuration, such as [`zPriority`](/documentation/MapKit/MKAnnotationView/zPriority), create this annotation view directly. To display the annotation view, return the instance from [`mapView(_:viewFor:)`](/documentation/MapKit/MKMapViewDelegate/mapView(_:viewFor:)-8humz).

The user location view provides the MapKit default style and behavior. The visual display varies with the level of authorization the user grants your app.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)