A string containing the localized description of the error.
SDKs
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
@property(readonly, copy) NSString *localizedDescription;
Discussion
The object in the user info dictionary for the key NSLocalized
. If the user info dictionary doesn’t contain a value for NSLocalized
, a default string is constructed from the domain and code.