Contents

CPManeuver

An object that describes a single navigation instruction.

Declaration

class CPManeuver

Overview

You use maneuvers to provide turn-by-turn guidance in navigation apps. Each maneuver represents a single navigation instruction and can include a symbol, an instruction, and estimates for remaining time and distance.

You supply an instruction as an array of variants, each with a different length. CarPlay chooses the longest variant that best fits the available space on the screen. You can optionally provide attributed variants that embed images using NSTextAttachment. See attributedInstructionVariants for more information.

In addition to the route guidance panel, you can show maneuvers on the CarPlay dashboard or in notification banners. Use the relevant properties to provide context-specific instructions and images.

Topics

Providing instructions

Providing attributed instructions

Providing travel estimates

Providing symbol images

Providing junction images

Providing junction information

Providing maneuver information

Providing additional information

Instance properties

Initializers

Instance Properties

See Also

Maneuvers