MKUserLocationView
A configurable annotation that shows the user’s location using the default MapKit style.
Declaration
class MKUserLocationViewOverview
If you don’t need additional configuration, you can show an annotation with the user’s location by setting showsUserLocation on the map to true.
If you want to specify additional configuration, such as zPriority, create this annotation view directly. To display the annotation view, return the instance from mapView(_:viewFor:).
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.