init(parking:)
Creates additional route information describing parking at the destination.
Declaration
convenience init(parking: String)Parameters
- parking:
A localized string describing parking at the destination. Must not be nil.
Return Value
A new @c CPRouteDetail instance representing the parking information.
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.