---
title: mapView
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkusertrackingbarbuttonitem/mapview
---

# mapView

The map view associated with this bar button item.

## Declaration

```swift
var mapView: MKMapView? { get set }
```
