Contents

init(info:)

Creates additional route information with a freeform informational string.

Declaration

convenience init(info: String)

Parameters

  • info:

    A localized string containing the information to display. Must not be nil.

Return Value

A new @c CPRouteDetail instance representing the informational text.

Discussion

Use this method to display a short piece of general information about the route that does not fit any of the predefined route detail categories.

Info strings should be concise and localized. The system displays this alongside other route details during route selection and active navigation.