An array of attributed strings representing the instruction variants for the maneuver.
- iOS 12.0+
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.
The attributed strings contained in the
attributed array should have only one attribute,
NSText. The system removes all other attributes.
Using a text attachment attribute, you can add an image to a maneuver instruction as shown in Listing 1. The maximum image size is 64 x 16 points at @3X scale (192 x 48 pixel).