Contents

localizedRecoverySuggestion

A string containing the localized recovery suggestion for the error.

Declaration

var localizedRecoverySuggestion: String? { get }

Discussion

The object in the user info dictionary for the key NSLocalizedRecoverySuggestionErrorKey. If the user info dictionary doesn’t contain a value for NSLocalizedRecoverySuggestionErrorKey, this property is nil.

The returned string is suitable for displaying as the secondary message in an alert panel.

See Also

Getting a Localized Error Description