Instance Property

instructionVariants

An array of instruction variants for the maneuver.

Declaration

var instructionVariants: [String] { get set }

Discussion

Localize each variant for display to the user, and make sure the array has at least one variant. The system displays the first variant that fits into the available screen space, so arrange the variants from most to least preferred display order.

See Also

Providing Maneuver Information

var attributedInstructionVariants: [NSAttributedString]

An array of attributed strings representing the instruction variants for the maneuver.

var initialTravelEstimates: CPTravelEstimates?

The distance between the end of the previous maneuver and the beginning of this one.