The localizedDescription
of an NSError
will now be used as the alert's title by default. This is a breaking change from the previous versions. Make sure to use the NSLocalizedDescriptionKey
in your custom errors instead of the NSLocalizedFailureReasonErrorKey
. This change was made to be consistent with the OS X error presentation.