Contents

additionalInformationVariants

An array of variants providing additional information about the route choice.

Declaration

var additionalInformationVariants: [String]? { get }

Discussion

When creating a CPRouteChoice object, localize each variant for display to the user. The system displays the first variant that fits into the available screen space, so arrange the variants from most to least preferred display order. The array contains at least one variant.

Examples of additional information variants include Fastest Route and Avoids Tolls.

See Also

Getting Variants