localizedRecoveryOptions
An array containing the localized titles of buttons appropriate for displaying in an alert panel.
Declaration
var localizedRecoveryOptions: [String]? { get }Discussion
The object in the user info dictionary for the key NSLocalizedRecoveryOptionsErrorKey. If the user info dictionary doesn’t contain a value for NSLocalizedRecoveryOptionsErrorKey, this property is nil.
The first string is the title of the right-most and default button, the second the one to the left of that, and so on. The recovery options should be appropriate for the localizedRecoverySuggestion property. If the user info dictionary doesn’t contain a value for NSLocalizedRecoveryOptionsErrorKey, only an OK button is displayed.