Creates an alert template.
- iOS 12.0+
An array of title variants. Each title should be localized and ready for display to the user. When the system displays the alert, it selects the title that best fits the available screen space, so arrange the variants from most to least preferred. Always include at least one title in the array.
An array of actions available on the alert. The array must contain at least one action.
A newly initialized alert template.