---
title: notificationInstructionVariants
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cpmaneuver/notificationinstructionvariants
---

# notificationInstructionVariants

An array of instruction variants for notification banners.

## Declaration

```swift
var notificationInstructionVariants: [String] { get set }
```

## Discussion

Discussion Localize each variant for display to the user, and make sure the array contains at least one variant. The system displays the first variant that fits into the available screen space, so arrange the variants in order from most- to least-preferred. note: If you provide both notificationInstructionVariants and notificationAttributedInstructionVariants, the system displays instructions from the attributed instruction variants array. If you don’t provide notification variants, the system checks for attributedInstructionVariants, and then instructionVariants.

## See Also

### Providing instructions

- [dashboardInstructionVariants](carplay/cpmaneuver/dashboardinstructionvariants.md)
