---
title: "init(parking:)"
framework: CarPlay
role: symbol
role_heading: Initializer
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+]
path: "carplay/cproutedetail/init(parking:)"
---

# init(parking:)

Creates additional route information describing parking at the destination.

## Declaration

```swift
convenience init(parking: String)
```

## Parameters

- `parking`: A localized string describing parking at the destination. Must not be nil.

## Return Value

Return Value A new @c CPRouteDetail instance representing the parking information.

## Discussion

Discussion Use this method to surface parking-related details (availability, estimated cost, distance to destination) so users can factor parking into their route selection. Parking information is displayed alongside other route details. Keep the string concise and localized so it reads clearly in the available space.
