---
title: "init(mapView:)"
framework: mapkit
role: symbol
role_heading: Initializer
path: "mapkit/mkpitchcontrol/init(mapview:)"
---

# init(mapView:)

Creates a pitch control and associates it with the specified map view.

## Declaration

```swift
convenience init(mapView: MKMapView?)
```

## Parameters

- `mapView`: The map to associate with the zoom control.
