<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MapPitchToggle/init(scope:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "MapKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:15_MapKit_SwiftUI0A11PitchToggleV5scopeAC0cD09NamespaceV2IDVSg_tcfc"
  },
  "title" : "init(scope:)"
}
-->

# init(scope:)

Creates a new map pitch toggle control with the provided scope.

```
@MainActor @preconcurrency init(scope: Namespace.ID? = nil)
```

## Parameters

`scope`

The namespace the framework passes to the associated [`Map`](/documentation/MapKit/Map) and <doc://com.apple.documentation/documentation/SwiftUI/View/mapScope(_:)>.

---

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)